USE SELF JOIN
1.create table
create table X(transno int identity(1,1),date datetime)
2.insert value
insert into X values ('20140401'),('20140401'),('20140402'),
('20140402'),('20140402'),('20140403'),('20140404')
3.view values
select * from X
4. SELF JOIN QUERY
select a.transno,b.date from x as a,X as b
where (a.transno+1)=b.transno
and a.date < b.date