Answers for "group by year sql server"

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"

Browse Popular Code Answers by Language