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 does := mean in pl sql?
what is commit? : Sql dba
what is index? : Sql dba
What is left join in postgresql?
How many types of normalization are there?
What is pl sql code?
How to handle bulk data?
What are pl sql data types?
What are the benefits of pl sql?
What is varchar used for?
What kind of join is join?
Are ddl triggers fired for ddl statements within a pl/sql code executed using the dbms.sql package?
What is primary key sql?
What is the primary use of normalization?
What are the events on which a database trigger can be based?