結果 : sql group by range of dates