how u can find the n row from a table?

Answer Posted / guest

select rownum,ename,sal,empno from(select ename,sal,empno from
table_name order by sal) group by rownum,ename,sal,empno
having rownum=(select count(*) from table_name

Is This Answer Correct ?    10 Yes 13 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are sql queries used for?

540


What is record type in pl sql?

552


what is sub-query? : Transact sql

599


How does sql profiler work?

572


How do I truncate a sql log file?

542






Can we use ddl commands in pl sql?

563


What do you understand by pl/sql cursors?

554


is it possible to pass an object or table to a procedure as an argument?

576


How to call shell script from pl sql procedure?

627


Suppose a student column has two columns, name and marks. How to get name and marks of the top three students.

532


Explain what is a view?

600


What are the two types of cursors in pl sql?

542


what is the difference between char and varchar data types? : Sql dba

543


Are stored procedures faster than dynamic sql?

535


Why do we create stored procedures & functions in pl/sql and how are they different?

507