how to find the particular row in table?(means suppose one
table contain 10 rows , in these 10 rows how to find the
particular row(example in 10 rows i want 5 row how)?
Answer Posted / kishor
select top 1 * from table_name
where id in (select top 5 id from table_name order by id asc)
order by id desc
| Is This Answer Correct ? | 3 Yes | 4 No |
Post New Answer View All Answers
How to loop through result set objects using odbc_fetch_row()?
What is a field name?
What are policy management terms?
What is merge?
How to drop an existing table?
What is index, cluster index and nonclustered index?
What are orphan records?
Can we use max in where clause?
What are the built in functions in sql server?
You schedule a job to run every minute what will happen if the first job runs more than 1 min? Will the second instance of the job start?
What are the system database in sql server 2008?
Explain filtered indexes benefits?
How to replace the Query Result 'Null Value' with a text ?
Can you explain what are various ways to enhance the ssrs report?
What is normalization? Describe its different types.