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 does inner join mean?
Why do we use subquery?
What are the different schemas objects that can be created using pl/sql?
How do I view a sql trace file?
What is a subquery in sql?
what are the advantages of using stored procedures? : Sql dba
What is partition by in sql?
Can a commit statement be executed as part of a trigger?
How you improve the performance of sql*loader? : aql loader
What is sql*loader and what is it used for? : aql loader
What is pls integer?
What is trigger with example?
What is insert command in sql?
What are the types of keys?
what happens if you no create privilege in a database? : Sql dba