From an Employee table, how will you display the record
which has a maximum salary?
Answer Posted / mohan
select * from emp where sal in(select max(sal) from emp);
or
select * from emp where sal=(select max(sal) from emp);
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
what are set operators in sql? : Sql dba
Can you selectively load only those records that you need? : aql loader
What is the use of function in sql?
what are dynamic queries in t-sql? : Transact sql
Is sql procedural language?
how does a local variable is defined using t-sql? : Transact sql
Does truncate table reset auto increment?
How to know the last executed procedure?
What does the sign mean in sql?
How to Execute a Package in PL/SQL.?
What is indexing oracle sql?
What is record data type?
Can I copy :old and :new pseudo-records in/to an oracle stored procedure?
What is sql and db2?
How to raise user-defined exception with custom sqlerrm ?