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 -> How to use the WITH clause

How to use the WITH clause

From: Kin Ng <kin_ng5_at_yahoo.com>
Date: 9 Jul 2003 18:14:16 -0700
Message-ID: <d5b3f600.0307091714.7da04ed5@posting.google.com>


Can someone tell me what's wrong with my use of the WITH clause?

with summary as
(
select brand_code from tblmasters where created_by < sysdate )
select brand_code from summary

I kept getting "SQL statement doesn't return rows" error.

Thanks Received on Wed Jul 09 2003 - 20:14:16 CDT

Original text of this message

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