Please also note that "like '%CONST'" will not use any
index on the column. Assuming the date column
is a DATE datatype, then you might want to do:
[code]
SELECT to_char(DATE, 'MON-YY')
FROM X
WHERE DATE between '01-JAN-2003' and '31-JAN-2003'
GROUP BY to_char(DATE, 'MON-YY')...