From an Employee table, how will you display the record
which has a maximum salary?
Answer Posted / os reddy
select * from emp
where sal=(select max(sal) from emp);
OR
select * from emp
where sal in(select max(sal) from emp);
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
what is the difference between delete and truncate commands? : Sql dba
Is sqlite free?
What is a system versioned table?
What is query syntax?
What are the different types of dbmss?
What if we write return in procedure?
What are some emotional triggers?
how to convert character strings to numeric values? : Sql dba
how to create a table index in mysql? : Sql dba
How does sql developer connect to oracle database?
What is the difference between sql and isql*plus?
what is the difference between $message and $$message? : Sql dba
What does closing a cursor do?
Explain sql data types?
Is coalesce faster than isnull?