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

How do I remove all records from a table?

563


how do you know if your mysql server is alive? : Sql dba

593


Why cross join is used?

626


what is the difference between blob and text? : Sql dba

526


Can a table contain multiple primary key’s?

624






What is plpgsql language?

529


How do you create a db file?

520


How do I run sql?

613


how to check myisam tables for errors? : Sql dba

597


Cite the differences between execution of triggers and stored procedures?

617


How do we accept inputs from user during runtime?

546


What is the difference between inner join and outer join?

527


What is java sql driver?

544


describe transaction-safe table types in mysql : sql dba

502


column A column b | output 10 7 | 10 5 8 | 8 7 -9 | 7 3 5 | 5 0 6 | 6 Write a sql query to print such output.

6075