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