Answer Posted / gautam
select * from (
SELECT ROWNUM as RANK, ename, sal
FROM (SELECT ename,sal FROM emp ORDER BY sal DESC)
WHERE ROWNUM <= 3)
where rank=3
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What are the conditions an underlying table must satisfy before a cursor can be used by a positioned update or delete statement? : Transact sql
what are the 'mysql' command line options? : Sql dba
What are system versioned tables?
Can we create view in stored procedure?
What is pl sql and why it is used for?
what is a database transaction? : Sql dba
what is the difference between delete and truncate statement in sql? : Sql dba
Which column of the user triggers data dictionary view displays the database event that will fire the trigger?
What is anonymous block in sql?
what is a database? : Sql dba
What are the 3 types of behavioral triggers?
Define the select into statement.
What are the benefits of stored procedures?
What is procedure explain with example?
How many joins in sql?