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 a primary key and a clustered index?
What is a join query?
How to avoid duplicate records in a query?
Is sql considered coding?
What is the most restrictive isolation level? : Transact sql
Which are the different case manipulation functions in sql?
What are different types of functions in sql?
What are the types of sql commands?
What is package in pl sql with an examples?
How many joins can you have in sql?
What is rollback?
Explain the difference in execution of triggers and stored procedures?
What is coalesce in sql?
How can we solve sql error: ora-00904: invalid identifier?
what is the difference between primary key and unique key? : Sql dba