我有一个三列的mysql表
Index, startTime, finishTime
1, 00:30:00, 01:45:30
21, 01:45:30, 02:45:30
36, 02:45:30, 02:55:00
47, 02:55:00, 02:55:30
58, 03:30:00, 03:45:30
61, 03:45:30, 04:45:30
99, 06:30:00, 06:45:30
18978, 06:45:30, 06:45:40
18978, 06:45:40, 06:55:40
28888, 07:30:00, 09:45:30
是否可以在存储过程中找到每个时间块的 startTime 和 finishTime 而没有间隙?
即:输出每个时间块的最小开始时间和最大结束时间
00:30:00, 02:55:30
03:30:00, 04:45:30
06:30:00, 06:55:40
07:30:00, 09:45:30