I need to group only by date without time from the datetime field in the table. What can i do with friends?
Here is the My Table field,

My Mysql query,
select *,count(ord_number) as ord from tbl_order_details inner join tbl_users on tbl_users.user_id=tbl_order_details.user_id where 1=1 group by ord_date order by ord asc
source
share