Answers for "sum values by month mariadb"

SQL
0

sum values by month mariadb

SELECT MONTHNAME(o_date), SUM(total) 
FROM theTable
GROUP BY YEAR(o_date), MONTH(o_date)
Posted by: Guest on September-21-2021

Code answers related to "SQL"

Browse Popular Code Answers by Language