how to select 5 to 7 rows from a table, which contains 10 rows?
Answer Posted / priyanka
select top 3 * from emp where id not in
(select top 4 id from emp order by id)
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
Explain an automatic checkpoint
Explain where clause?
What is full outer join in sql server joins?
How do I install sql server?
What is exporting and importing utility?
What is logon trigger?
Is it possible for a stored procedure to call itself or recursive stored procedure? How many levels of sp nesting are possible?
What are subqueries in sql server?
Where does the copy job runs in the log shipping primary or secondary? : sql server database administration
You have a stored procedure, which execute a lengthy batch job. This stored procedure is called from a trigger you do not want to slow the data entry process you do not want trigger to wait for this batch job to finish before it completes itself what you can do to speed up the process?
What is a partition function in sql server?
What is single-user mode?
How to override dml statements with triggers?
Where is trigger in sql server?
What is indexing in sql server with example?