From an Employee table, how will you display the record
which has a maximum salary?
Answer Posted / kavitha nedigunta
select * from emp e,(select max(sal) sal
from emp)a
where e.sal= a.sal;
select * from emp
where sal in(select max(sal) from
emp);
Is This Answer Correct ? | 29 Yes | 3 No |
Post New Answer View All Answers
How many sql statements are used? Define them.
How do I order by ascending in sql?
What is a Mapplet?
Can you selectively load only those records that you need? : aql loader
How to run sql statements through the web interface?
What is scalar data type in pl sql?
What is a sql select statement?
Is it possible for a table to have more than one foreign key?
What are joins in sql?
How do you create a db file?
Is microsoft sql free?
what is primary key? : Sql dba
What do you mean by stored procedures? How do we use it?
What is microsoft t sql?
How delete all records from table in sql?