I have this MySQL query:
SELECT DAYOFYEAR(`date`) AS d, COUNT(*) FROM `orders` WHERE `hasPaid` > 0 GROUP BY d ORDER BY d
Which re
I would say that this is impossible every resulting row should be independent. Use programming language for getting these values