sql group by year

Solutions on MaxInterview for sql group by year by the best coders in the world

showing results for - "sql group by year"
Louisa
31 Nov 2019
1SELECT value1, extract(YEAR FROM my_date)
2FROM my_table
3GROUP BY value1, extract(YEAR FROM my_date);