Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> SQL question
Hi everyone,
why does one of these very similar statements work and the other doesn't?
SQL> select distinct fa20, '2' from t_2;
FA20 '
---------- -
0 2 1 2 2 2 3 2 4 2 5 2
6 Zeilen ausgewõhlt.
SQL> select '2', distinct fa20 from t_2; select '2', distinct fa20 from t_2
*
The error text translates to: Expression missing
Very curious,
Stephan
Received on Wed Jun 23 2004 - 16:39:27 CDT