How to use the TRUNCATE and DATE in Oracle Query-CodeGain