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 -> Re: Scalar Subquery in GROUP BY and HAVING clause

Re: Scalar Subquery in GROUP BY and HAVING clause

From: Mark D Powell <Mark.Powell_at_eds.com>
Date: 20 Dec 2004 06:19:12 -0800
Message-ID: <1103552352.018368.196510@z14g2000cwz.googlegroups.com>


It is a definite error in the manuals. I am not sure but I had thought that the term scalar subquery had been applied to select statements in the select list of another query: select col1, (select colb from table 2 ...), col3 when Oracle first introduced it. Subqueries of the form in the example were just normal subqueries. The definition that appears in the 9.2 and 10g SQL manual under the topic "Scalar Subquery Expressions" makes no such distiction. So either the list about where the scalar subqueries are legal is wrong or the definition of a scalar subquery requires clarification.

IMHO -- Mark D Powell -- Received on Mon Dec 20 2004 - 08:19:12 CST

Original text of this message

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