a guest Aug 19th, 2019 61 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- SELECTDAYNAME(Created) AS theday,SUM(price) AS thesum
- FROM mytable
- GROUP BY DAYNAME(Created)
- ORDER BY Created asc LIMIT 7;
RAW Paste Data