我有一张桌子和像这样的列
Start_date timestamp,
end_date timestamp,
id number,
cost number(10,2).
我插入表中的数据将是这样的
1,'2013-02-03 00:00:00','2013-02-03 00:00:00',75*0.06
1,'2013-02-04 00:00:00','2013-02-04 00:00:00',75*0.06
1,'2013-02-05 00:00:00','2013-02-05 00:00:00',75*0.06
1,'2013-02-06 00:00:00','2013-02-06 00:00:00',75*0.06
1,'2013-02-07 00:00:00','2013-02-07 00:00:00',75*0.06
1,'2013-02-08 00:00:00','2013-02-08 00:00:00',75*0.06
1,'2013-02-09 00:00:00','2013-02-09 00:00:00',75*0.06
现在我想在周日到周六对列Start_date
进行分组。end_date
你能帮我解决这个问题吗?
提前致谢。