Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.tools -> How to "Group By" a calculated field?
I am trying to construct a query that requires grouping by a calculated value (something like "to_char(:RptDate, 'MM')-to_char(OrderDate, 'MM')". I would have created a view that does the calculation, and used that, but the calculation is based on a parameter value. So how can I get around this?
Thanks.
Lee. Received on Tue Jul 10 2001 - 04:26:34 CDT