去掉间隔中15分钟之内的时间
declare @t table
(fid int identity(1,1),t varchar(8))
insert into @t
select '08:21:00' union all
select '08:22:00' union all
select '08:23:00' union all
select '08:51:00' union all
select '08:52:00' union all
select '08:54:00'
select * from @t
数据是上边的,我想得到下面的结果
1 08:21:00
4 08:51:00
也就是去掉间隔在15分钟之内的时间,咋整啊,请高手赐教,多谢