Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Adding two different columns in a view
Hi,
I have a view name WV82_UNION where there are two columns; TOT_AMT_BOUGHT
and TOT_AMT_PAID
Now I have to select a column which will add up the above two columns. I am issuing the following commands:
select (TOT_AMT_BOUGHT + TOT_AMT_PAID) from WV82_UNION;
*
ERROR at line 1:
ORA-00942: table or view does not exist
My question is: Is the query expression correct or do I need some modification . Thanks in advance for any help. Regards. Received on Fri Sep 20 2002 - 11:21:44 CDT