Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Invalid column name

Invalid column name

From: Christian <c>
Date: Fri, 20 May 2005 21:37:41 +0200
Message-ID: <428e3c81$0$26071$7a628cd7@news.club-internet.fr>


Hello,

If I do :

     (select 0, c.*
from table1 c
minus
select distinct 0, a.*
from table1 a,table2 b
where ... )
union
select distinct 1, a.*
from table1 a, table2 b
where ...

it works fine.

But if I want to add "order by" and any column from table1 I get "ORA-00904 invalid column name"

I don't understand :-(

Thanks in advance for any idea... Received on Fri May 20 2005 - 14:37:41 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US