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
What is a trigger in sql server?
Can we shrink data file in sql server?
What is resultset concur_updatable?
What is a partitioned view?
How to throw custom exception in Stored Procedure?
What is replication with database mirroring? : sql server database administration
How many types of cursor type are there?
Do you know what are the reporting services components?
How to get nth highest salary from employee table.
What are the export options of ssrs?
How do you delete a trigger?
Explain trigger classes i.e. Instead of and after trigger?
What is sql server locking?
Explain partitioned view?
What is a print index?