View Single Post
  #1 (permalink)  
Old 07-21-2008, 10:35 AM
arun arun is offline
Junior Member
 
Join Date: Jul 2008
Posts: 9
arun is on a distinguished road
Default ANY dialect question:

explanation of the query


hello friends,
this was a query sent by a friend,can any one explain it in detail and how this work. i am new to sql and not so good at corelated subquery.

select distinct value from table a where 8=(select count(distinct value) from table b where b.value >= a.value);

thank u all ......
arun
Reply With Quote

ANSWER(S):