how to select 5 to 7 rows from a table, which contains 10 rows?
Answer Posted / john t
If you knowfor sure that the number of rows is 10 then the
above answers given above a great examples. So what if you
don't know the total number of rows in that table? Can you
use Select count(*) from nameoftable;
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
What the different types of Replication and why are they used?
What are the new features introduced in SQL Server 2000 (or the latest release of SQL Server at the time of your interview)? What changed between the previous version of SQL Server and the current version?
can we have a nested transaction? : Sql server database administration
How data can be copied from one table to another table?
What is the difference between count () and rowcount ()?
Find columns used in stored procedure?
Explain syntax for viewing trigger?
Explain the cursor lock types?
How many null values we can have in a unique key field in sql server?
What is partition, how will you implement it? : sql server analysis services, ssas
Can we call future method from queueable?
How will you know when statistics on a table are obsolete?
How to list all stored procedures in the current database using ms sql server?
What are the filtered indexes?
Is BCNF better than 2NF & 3NF? Why?