Answer Posted / umadevi
SELECT * FROM emp a WHERE 2 = (SELECT COUNT(rowid) FROM
emp b WHERE a.rowid >= b.rowid)
now it will work. instead of :n we have mention row number.
| Is This Answer Correct ? | 26 Yes | 10 No |
Post New Answer View All Answers
What is the difference between clustered and non-clustered indexes?
What are its different types of dbms?
What's the difference between inner join and left join?
What are the types of dbms?
What are character functions?
What is cascade in sql?
What is the main difference between sql and pl/sql?
How do rank () and dense_rank () differ?
Which command is used to delete a trigger?
How do you modify a column in sql?
What are sql built in functions?
Is trigger a stored procedure?
What is pl sql collection?
What is duration in sql profiler trace?
How do you bind variables in pl sql?