create table test
(
id int
)
insert into test(1);
insert into test(2);
...
insert into test(1440);
这里面现在有1440条记录,正好是1天的1440分钟,我现在想要得到这样的结果(从2点开始,到第2天的1点59分,正好是一天):
id    time
1     2:00
2     2:01
3     2:02
...
1399  1:58
1400  1:59