Answers for "SQL group by month year date"

SQL
4

sql group by year

SELECT value1, extract(YEAR FROM my_date)
FROM my_table
GROUP BY value1, extract(YEAR FROM my_date);
Posted by: Guest on May-02-2021

Code answers related to "SQL group by month year date"

Code answers related to "SQL"

Browse Popular Code Answers by Language