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
Explain the the delete statements in sql?
What is the difference between row level and statement level trigger?
What is the advantage of nosql?
Can we create a trigger on view?
What are sql*plus environment variables?
mention if it is possible to import data directly from t-sql commands without using sql server integration services? If yes, what are the commands? : Transact sql
Why do we need pl sql?
Explain lock escalation? : Transact sql
What is Histogram?
hi,i plan to put experience on PLSQL ,can anyone suggest me for any institutes in bangalore or how to prepare for interviews
Which command is used to call a stored procedure?
Can we join same table in sql?
How do you clear the screen in sql?
How do I delete a trigger?
What is sql integrity?