We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
SQL for obtaining daily closed sales (add your limits for start and end date)
SELECT DATE(`dt`) as mydate, SUM(`total`) AS mysales FROM `sales` WHERE `status` = '1' GROUP BY mydate ORDER BY `dt`
Status Codes