Given a table of data, write a SQL query to partition the data by year. The table should have three columns: id, value, and year. The query should return the id, value, and year for each row in the table.
The solution above is correct and demonstrates a level of completeness. It solves the problem by partitioning the data by year. The approach is efficient and straightforward.
Evaluated at: 2022-11-27 06:15:49