From an Employee table, how will you display the record
which has a maximum salary?

Answer Posted / apsar

select * from (select e.* from emp order by e.sal desc)

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is sql lookup?

513


What is clause?

610


What is the use of pl/sql table?

556


what is “go” in t-sql? : Transact sql

603


What are different joins used in sql?

556






how to get a list of columns in an existing table? : Sql dba

544


How is a process of pl/sql compiled?

602


What are the conditions an underlying table must satisfy before a cursor can be used by a positioned update or delete statement? : Transact sql

539


how can we encrypt and decrypt a data present in a mysql table using mysql? : Sql dba

646


What is normalization? How many normalization forms are there?

554


Is left join inner or outer by default?

523


how can we optimize or increase the speed of a mysql select query? : Sql dba

508


Is truncate ddl or dml?

545


Which tcp/ip port does sql server run on? How can it be changed? : Sql dba

497


What is acid property in a database?

586