Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SELECT DATE_FORMAT(timeof, '%m-%Y') AS mese, SUM(totsell-cost) AS somma FROM POSITION WHERE DATE_FORMAT(timeof, '%m-%Y') GROUP BY mese
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement