group by date sql code example Example: How can I group by date time column without taking time into consideration GROUP BY CAST(myDateTime AS DATE)