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 index in sql?
How can I tell if sql is running?
Mention what does plv msg allows you to do?
What is the command used to fetch the first 5 characters of a string?
how to get @@error and @@rowcount at the same time? : Sql dba
Explain the difference between cursor declared in procedures and cursors declared in the package specification?
How exception handling is done in advance pl/sql?
Explain the difference between rename and alias?
What is compute?
What is assignment operator in pl sql?
How do I remove sql developer from windows 10?
Explain how can you save or place your msg in a table?
Can we rollback delete command?
What is difference between joins and union?
what is isam? : Sql dba