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
Does user triggers have entry for trigger with compilation errors?
how to include comments in sql statements? : Sql dba
Why is nosql good?
What is audit logout in sql profiler?
What is the trigger in sql?
What are the differences between implicit and explicit cursors?
What are the methods of filing?
What is dynamic query?
what are the system privileges that are required by a schema owner (user) to create a trigger on a table?
What is the use of index in hive?
What is transaction control language (tcl)?
what is difference between delete and truncate commands? : Sql dba
Can we change the table name in sql?
How does cross join work?
What is execution plan in sql?