Re: [HACKERS] subselect in the column list

2012-03-13 Thread Kevin Grittner
amit sehas wrote: > If we have a query of the form: > > Select *, (Select * FROM T2 WHERE p2 = T1.p1) FROM T1 ORDER > BY 1 WHERE p3 = 75 > > In SQL, if a subselect is present in the column-list, is the > result set of this subselect considered to be a part of a > single tuple returned from the o

[HACKERS] subselect in the column list

2012-03-13 Thread amit sehas
If we have a query of the form: Select *, (Select * FROM T2 WHERE p2 = T1.p1) FROM T1 ORDER BY 1 WHERE p3 = 75 In SQL, if a subselect is present in the column-list, is the result set of this subselect considered to be a part of a single tuple returned from the outer query, or does the result set