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
How many scalar data types are supported in pl/sql?
What is index example?
Sql technical questions
How can check sql version from command line?
How do you get column names only for a table (sql server)?
What is a sql statement?
How many commands are there in sql?
Is sql a dbms?
What is sap sql anywhere?
Why do we use triggers?
What do you think about pl/sql?
why does the selected column have to be in the group by clause or part of an aggregate function? : Sql dba
What is prepared statement in sql?
What kind of join is join?
What packages(if any) has oracle provided for use by developers?