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
State few characteristics of pl/sql?
Which is faster union or join?
What is sql used for?
Is oracle sql free?
Is left join faster than inner join?
how would you get the current date in mysql? : Sql dba
What is nosql example?
how many triggers are allowed in mysql table? : Sql dba
If i can use sys.check_constraints to display my constraints from my database using sql server 2005, how can i display then if i am using sql server 2000????
Can a table contain multiple primary key’s?
What is difference sql and mysql?
What is inner join in sql?
What is dbo in sql?
Is time a data type in sql?
What is schema in sql example?