Advertisement
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;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement