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
What is transaction server auto commit?
How to check status of stored procedure in sql server?
How sql server enhances scalability of the database system?
What are the steps you can take to avoid “deadlocks”?
What is ms sql server index?
What happens if null values are involved in datetime operations?
What are window functions in sql server?
Define union, union all, minus, intersect?
How to declare and use cursor variables?
Is it possible to create trigger on views?
Write a program using SQL queries to find a unique entry in a table.
What do you mean by an execution plan?
I have a table Events Events containing cardno,time,id,name--each id has a cardno my requirement is every day each employee swipe the card several times i want to calculate first and last time of each card the output should be name 1 2 6 7 in out in out holiday holiday xxx 09:30 06:30 09:40 06:45 where 1,2...... are dates for example january 1,2, etc. 6 and 7 are saturday and sunday how it is posssible
Explain different types of index?
How to execute the cursor queries with "open" statements?