how do we find every fifth record in a table
Answer Posted / srivatsa p
Select Top 1 * From (Select Top 5 * From customers Order By
1 Asc) X Order By 1 Desc
| Is This Answer Correct ? | 4 Yes | 4 No |
Post New Answer View All Answers
Write a sql query to sort on different column name according to the parameters passed in the function?
How many partitions a clustered index has by default in sql server 2012?
What are the main differences between #temp tables and @table variables and which one is preferred?
How will you make an attribute not process? : sql server analysis services, ssas
What stored by the master? : sql server database administration
What is a transact-sql statement?
How can you stop stored procedures from recompiling?
How to get the number of affected rows?
What is the recovery model?
You want to generate a report that is formatted as a chart. Can you use the report wizard to create such a report?
What is cte (common table expression)?
Write a SQL query to make a column as unique?
How do I open a .db file?
What is tablix?
Explain about sql server login?