I\'m interested in learning some (ideally) database agnostic ways of selecting the nth row from a database table. It would also be interesting to see how this can b
Nothing fancy, no special functions, in case you use Caché like I do...
SELECT TOP 1 * FROM ( SELECT TOP n * FROM ORDER BY ID Desc ) ORDER BY ID ASC Given that you have an ID column or a datestamp column you can trust. 0 讨论(0) 查看其它30个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复 热议问题
Given that you have an ID column or a datestamp column you can trust.