how to retrieve the top 3 salaries of the table using rownum
Answer Posted / chiru
select sal from (select distinct sal from emp order
by sal desc)
where rownum<4 ;
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the left table in sql?
explain advantages of myisam over innodb? : Sql dba
What are the types of subqueries?
What view means?
What is meant by truncate in sql?
What is the purpose of a sql?
What is a trigger in sql?
how would you enter characters as hex numbers? : Sql dba
Can we use rowid as primary key?
What is the difference between subquery and correlated query?
How consistent is the view of the data between and within multiple sessions, transactions or statements ?
What is a variable in sql?
What is sql catalog?
What are the parts of a sql statement?
What is pl sql script?