开发者

How do I retrieve only the first n records using query in MS access

开发者 https://www.devze.com 2023-01-24 11:02 出处:网络
I a开发者_如何学运维m looking for something like rownumYou can use TOP, for example: SELECT Top 10 col FROM Table ORDER BY col2

I a开发者_如何学运维m looking for something like rownum


You can use TOP, for example:

SELECT Top 10 col FROM Table ORDER BY col2

Note that this will return more than 10 records if col2 has duplicates.


Select Top n Col From Table
0

精彩评论

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