how to retrive only second row from table in sql server
2000?

Answer Posted / vardharaj

SELECT TOP 1 ID FROM TABLENAME WHERE ID NOT IN (SELECT TOP 1
ID FROM TEST)

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we install sql server 2016 on windows 7?

767


List out some of the requirements to set up a sql server failover cluster?

674


Can you please differentiate between a primary key and a unique key?

625


What is the sql server agent?

681


How you can find out if an index is useful to the optimizer?

567






What is use of @@ spid in sql server?

771


What is an index in sql?

642


where can you add custom error messages to sql server? : Sql server administration

668


but what if you have to create a database with two filegroups, one on drive c and the other on drive d with log on drive e with an initial size of 600 mb and with a growth factor of 15%? : Sql server database administration

626


How to convert character strings into numeric values?

683


What is the purpose of sql profiler in sql server? : sql server database administration

718


Sql studio em braces a variety of capabilities, but will I need them all? Is there a simpler product ? : sql server management studio

598


What is xdr?

663


In what three ways is the return statement used in a stored procedure?

606


Difference between DELETE and TRUNCATE?

699