consider a table which contain 4 columns,ename,eno,sal and
deptno, from this table i want to know ename who having
maximum salary in deptno 10 and 20.
Answer Posted / lipika
Select Ename From emp where sal in (Select Max(Sal) From
emp where deptno in (10,20) group by deptno);
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Is primary key clustered index?
how to get a list of columns in an existing table? : Sql dba
Can we use threading in pl/sql?
What are the uses of sysdate and user keywords?
What is not in sql?
What is oracle sql developer?
How do you know if a relationship is 2nf?
how to use like conditions? : Sql dba
Is natural join and inner join same?
explain normalization concept? : Sql dba
What are field types?
What is the usage of sql functions?
What are the advantages of pl sql over sql?
What are tuples in sql?
Does truncate need commit?