开发者

select last row of table

开发者 https://www.devze.com 2022-12-31 01:38 出处:网络
How to select last row of开发者_如何学C table in SQL SERVER 2005In general like this select top 1 *

How to select last row of开发者_如何学C table in SQL SERVER 2005


In general like this

select top 1 *
from table 
order by SomeColumn desc
0

精彩评论

暂无评论...
验证码 换一张
取 消