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 -> What's this SQL doing?

What's this SQL doing?

From: Prince Of Thieves <thief_NOSPAM_at_hotmail.com>
Date: Thu, 6 Nov 2003 15:57:29 +1100
Message-ID: <pskqb.189$373.3675@nnrp1.ozemail.com.au>


Select c.clridx, n.price, n.perprice
from clr c, sprice_clrsku n where c.styleidx = 1164 and c.styleidx = c.styleidx and c.active = 1 and c.colouridx > 0 and n.spidx(+) = 163
and n.clridx(+) = c.clridx order by c.clrcode;

Notice the line "and c.styleidx = c.styleidx "? Why did the author set this SQL like this? Is this to accomplish something I do not know about?

--

Julian Milano
Received on Wed Nov 05 2003 - 22:57:29 CST

Original text of this message

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