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 / swati
select top 1 ename from emp where deptno in(10,20) order by
sal desc
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Does oracle roll back the transaction on an error?
How can we debug in PL/SQL?
Explain the types of joins in sql?
What is minus?
how are mysql timestamps seen to a user? : Sql dba
What happens when a trigger is associated to a view?
Why is a primary key important?
How do I start sql profiler?
What is dynamic query?
what is a cursor? : Sql dba
What are the types of dbms?
Which data type is a composite type?
How delete all data from table in sql?
Is pl sql a programming language?
Is nosql relational?