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

Answer Posted / sandeep

Select * from employee where rownum=1 order by 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

How do you create a db file?

524


What is date functions?

577


What is embedded sql what are its advantages?

507


What are different types of tables in sql?

531


Does asenumerable execute the query?

605






How is sql used in oracle?

583


What is a unique key?

588


Differentiate pl/sql and sql?

565


How would you pass hints to the sql processor?

532


What is on delete restrict?

544


What is case function?

603


What are the different ddl commands in sql?

582


Which type of cursor is used to execute the dml statement?

534


What does fetching a cursor do?

618


What are few of the schema objects that are created using PL/SQL?

563