MySQL Forums
Forum List  »  Newbie

Sub Select Support
Posted by: Abdul Wasie Mushtaq
Date: May 29, 2005 12:40AM

does any version of mysql support sub select
for example

for example

select deptno, ename, sal
from emp x
where sal > (select avg(sal)
from emp
where x.deptno = deptno)
order by deptno

if yes then tell me the version

thanks in advance

thank you

Options: ReplyQuote


Subject
Written By
Posted
Sub Select Support
May 29, 2005 12:40AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.