我有一张桌子:
id ip count time city country
1 217.165.93.78 1 2013-08-05 02:24:10 DUBAI UNITED ARAB EMIRATES
2 122.178.229.243 1 2013-08-06 02:25:37 BANGALORE INDIA
3 27.97.27.185 1 2013-08-06 02:26:48 PUNE INDIA
4 217.165.93.78 1 2013-08-06 02:39:12 DUBAI UNITED ARAB EMIRATES
我需要根据日期对 ip 进行分组得到结果。