From an Employee table, how will you display the record
which has a maximum salary?
Answer Posted / debjani chakraborty
Select * from Employee where salary in(select max(salary)
from Employee);
| Is This Answer Correct ? | 58 Yes | 2 No |
Post New Answer View All Answers
Explain the purpose of %type and %rowtype data types with the example?
Explain the difference between 'between' & 'and' operators in sql
What is before trigger?
How does an execution block start and end in pl sql?
What is difference between stored procedure and trigger?
how do you control the max size of a heap table? : Sql dba
what is the difference between delete and truncate commands? : Sql dba
What are the benefits of triggers?
Does view store data in sql?
What is composite primary key in sql?
How do rank () and dense_rank () differ?
Write a sql query to find the names of employees that begin with ‘a’?
Can you have more than one key in a database?
What is the use of index in sql?
Which is faster joins or subqueries?