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 is set serveroutput on?
Is oracle sql free?
explain what is mysql? : Sql dba
Which tcp/ip port does sql server run?
How to disable a trigger name update_salary?
What is the use of triggers?
What is rownum in sql?
what is the maximum length of a table name, database name, and fieldname in mysql? : Sql dba
what is the difference between cluster and non cluster index? : Sql dba
What is the unique index?
Is sql port 1433 encrypted?
What are the benefits of pl sql?
What is left inner join in sql?
What does an inner join do?
Can I copy :old and :new pseudo-records in/to an oracle stored procedure?