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 pise
select top 1 * from table where dept_no in(10,20) order by
sal desc
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Is left join and outer join same?
What is a data definition language?
What are the events on which a database trigger can be based?
What does plv msg allows you to do?
What is a schema sql?
What is sql exception?
What is assignment operator in pl sql?
how tsql statements can be written and submitted to the database engine? : Transact sql
What is crud diagram?
List the different type of joins?
What is the use of function in sql?
What does subquery mean in sql?
What are different functions in sql?
What are the ddl commands?
Can you inner join the same table?