... convert timestamps to dates first and then group payments by the result date: SELECT DATE(payment_date) paid_date, SUM(amount) sum FROM payment GROUP BY ...
確定! 回上一頁