becks22
9th December 2008, 12:37
Hi all,
I m getting an error while using groupby
the error is "Column is nt used as a group identifier"

george7a
9th December 2008, 12:45
Hi,

On what line of code is this error?
Can you please post a screen shot of the error?

- George

becks22
9th December 2008, 13:27
Sir,
The error is cuming on the compilation window

zardoz
9th December 2008, 15:05
If you have a group by, all fields in the group by statement must be in the select statement (and all the fields in the select must be in the group by).

raikar_raviraj
10th December 2008, 14:35
can you paste your code, so that we can help you better.

prashant
15th December 2008, 08:21
Hi,
Error is coming from the SELECT statement.
In that you have used some aggregation but you have not included all the field in the GROUP BY
You have to use all the fields in the group by.

regards