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 does SELECT work?

How does SELECT work?

From: Konrad Den Ende <konrad_at_voxway.com>
Date: Mon, 8 Jul 2002 11:29:43 +0200
Message-ID: <agbm25$omp$1@news.gu.se>


Say that we have two tables COFFEES and SUPPLIERS (yes, from Suns site). When i execute this:

"Select * COFFEES, SUPPLIERS"

and print the results (only one column - Cof_Name) i get all the names of coffees (which i expected) BUT three times!

As there are three rows in SUPPLIERS i start to suspect that the command above gives me result of EVERY row in table 1 FOR EVERY row in table 2.

The question: Have i done something stupid or is my suspicion correct?

--

Vänligen
Konrad
-------------------------------------------------------
URL: http://konrads.webbsida.com
E-Mail: konrad_at_voxway.com
Phone: (+46) 0708 - 70 73 92
ICQ: 132 250 451
Received on Mon Jul 08 2002 - 04:29:43 CDT

Original text of this message

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