here id col have primary key and identity
id name
1 a
2 b
3 c
4 d
delete 2nd row then o/p will be
id name
1 a
3 c
4 d
next inssert 2nd row and i want o/p will be
id name
1 a
2 e
3 c
4 d
Answer Posted / karthikeyan
select * from table_name order by id;
Is This Answer Correct ? | 1 Yes | 14 No |
Post New Answer View All Answers
Please explain that what are the basic functions for master, msdb, model, tempdb and resource databases? : SQL Server Architecture
Relational calculus is what type of language?
What are the basic functions for master, msdb, model, tempdb and resource databases? : SQL Server Architecture
List out what other servers you can use with ssrs?
what are triggers? : Sql server database administration
Explain security with sql azure?
What do you understand by the denormalisation?
What is sql view?
What is sql server profiler?
Mention what are the core components of ssrs?
What is dbcc?
What do you do in data exploration
What is sql server programming?
What is format parameter in ssrs?
How display code or Text of Stored Procedure using Sql query in Sql Server ?