adspace


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

Answer Posted / amit bharane

select salary from employees
where rownum<=5
order by salary desc

Is This Answer Correct ?    3 Yes 22 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to use regular expression in pattern match conditions? : Sql dba

1125


What is your daily office routine?

2353


Do we need to rebuild index after truncate?

1156


Is inner join faster than left join?

1289


what is sql server agent? : Sql dba

1191


what is collation? : Sql dba

1242


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

1125


How do I remove duplicates in two columns?

1204


What is the current version of postgresql?

1189


Is primary key clustered index?

1028


what are all the common sql function? : Sql dba

1143


Can we use distinct and group by together?

1148


What is the best sql course?

1064


how to start mysql server? : Sql dba

1279


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