嗨,我有一张这样的桌子
Activity Date
---------------------
0 2012-11-20
1 2012-11-20
1 2012-11-20
1 2012-11-21
1 2012-11-21
0 2012-11-22
我需要选择记录为
Day-wise total 0's 1's Date
------------------------------------------
3 1 2 2012-11-20
2 0 2 2012-11-21
1 1 0 2012-11-22