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 difference between left and right outer join?
Which tcp/ip port does sql server run?
What is pl/sql table? Why is it used?
Where is all the data on the internet stored?
What is a delimiter in sas?
Is there a pl/sql pragma similar to deterministic, but for the scope of one single sql select?
what are the type of locks ? : Sql dba
What is difference between sql and oracle?
What are the two parts of design view?
What is input buffer in sql*plus?
What is an emotional trigger?
how many columns can be used for creating index? : Sql dba
Is sql scripting language?
Does a primary key have to be a number?
What are user defined functions?