adspace


Write a query to find five highest salaries from EMP table.
(there is a column SALARY)

Answer Posted / sujith

select * from test_sujith where rownum < 6 order by item3 desc

Is This Answer Correct ?    2 Yes 31 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what are all the common sql function? : Sql dba

1143


Is inner join faster than left join?

1289


How do I remove duplicates in two columns?

1204


what is collation? : Sql dba

1242


Can we rollback truncate?

1086


what are aggregate and scalar functions? : Sql dba

1143


Does group by remove duplicates?

1122


Can we use distinct and group by together?

1148


Is primary key clustered index?

1028


Do we need to rebuild index after truncate?

1156


how many tables will create when we create table, what are they? : Sql dba

1157


how to escape special characters in sql statements? : Sql dba

1125


Hi am new to PLSQL & facing problems in writing code like in SP, Functions, so any one having some SP coding with in depth explanation please share with me my Email ID suvarnaatsuvarna@rediffmail.com Or taking tanning on this please do contact me

2102


what is dbms? : Sql dba

1072


What is your daily office routine?

2353