From an Employee table, how will you display the record
which has a maximum salary?
Answer Posted / mrityunjay singh
select *from employees where rownum<2 order by salary desc;
or
select * from employee where sal=(select max(sal) from
employee);
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What are the possible values that can be stored in a boolean data field?
What is sqlerrd?
What is dcl in sql?
Are stored procedures faster than dynamic sql?
What is sql and explain its components?
What is informix sql?
What is embedded sql with example?
What does joining a thread mean?
What is optimistic concurrency control? : Transact sql
Explain what is dbms?
how to get @@error and @@rowcount at the same time? : Sql dba
What is a schema? How is it useful in sql servers?
Mention what are different methods to trace the pl/sql code?
What are the two types of cursors in pl sql?
How do I find duplicates in two columns?