gpt4 book ai didi

sql - 在SQL Server中查找第100条、200条等记录

转载 作者:行者123 更新时间:2023-12-02 21:37:24 26 4
gpt4 key购买 nike

我在 SQL Server 中有一个大表,如下所示:

tbl_point:

point     time
1 dec 12 12 pm
2 dec 12 12 01 pm
.
.
100 dec 15 2 pm
.
.
200 dec 18 5 pm

我需要选择第100、200、300到第n00条记录

喜欢

100     dec 15 2 pm
200 dec 18 5 pm
.
.

最佳答案

select * from tbl_point where point%100=0 and point>0

关于sql - 在SQL Server中查找第100条、200条等记录,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21077653/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com