how to retrive only second row from table?

Answer Posted / thanjairajan@gmail.com

select * from emp a where 2=(select count(distinct(b.rowid)) from emp b where a.rowid>=b.rowid;

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is it possible to create startup or shutdown trigger for on-schema?

780


What is pivot query?

830


What is a database trigger?

792


Can we use ddl statements in stored procedure?

881


What is a primary key example?

695






Which is better trigger or stored procedure?

689


What is a sql*loader control file?

790


What port does sql server use?

709


What if we write return in procedure?

974


What are the disadvantages of not performing database normalization?

806


Why indexing is needed?

730


What is the use of & in pl sql?

723


How can you tell the difference between an index and a view?

690


Can we use ddl commands in pl sql?

766


What schema means?

680