4
我需要按表中的日期时间字段没有时间进行分组。我可以做朋友吗?我如何写mysql按日期时间字段查询分组
这里我表字段,
我的MySQL查询,
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
谢谢!它为我工作。 –