how to select 5 to 7 rows from a table, which contains 10 rows?
Answer Posted / monty
i have other idea if there is no duplicate record in the
table you can use this
select top 7 *from employee
except
select top 4 *from employee
Is This Answer Correct ? | 1 Yes | 3 No |
Post New Answer View All Answers
What is a result set object returned by mssql_query()?
Explain table valued parameters in sql server? Why tvp used?
What is an identity column in insert statements?
what is normalization? Explain different levels of normalization? : Sql server database administration
How to populate a table in sql server?
How to count duplicated values in a column in ms sql server?
What are the different types of cursor?
Which are the third-party tools used in sql server and why would you use them?
Can we add our custom code in ssis?
Find nth lowest salary or get nth lowest salary?
What is the chart in report?
Why do we use non clustered index?
What is normalization process?
Are all views updatable ?
What is difference between index seek vs. Index scan?