Try this, this will do.
SELECT
a.id,
a.close
FROM
(
SELECT
id,
close
FROM
`orders`
ORDER BY
close DESC
) AS a
GROUP BY
DATE(a.close)
ORDER BY
a.id
ASC;
1
solved MYSQL request | GROUP BY DAY [closed]