我有这样的桌子
insert into attn (StaffNo, ADate, ATime) values ('12345', '12-02-2013', 09.10)
insert into attn (StaffNo, ADate, ATime) values ('12345', '12-02-2013', 10.03)
insert into attn (StaffNo, ADate, ATime) values ('12345', '12-02-2013', 10.40)
insert into attn (StaffNo, ADate, ATime) values ('12345', '12-02-2013', 17.30)
我想要这种格式
输出:
StaffNo ADate InTime OutTime
12333, 12-02-2013 09.10 10.03
12333, 12-02-2013 10.40 17.30