Label the years

The exhibition catalog needs to know which year each title was featured. Select each list's title together with a literal — '2023' for the first list, '2024' for the second — in a column called list_year, and combine the two queries with UNION. A title featured in both years must appear twice, once per year.

Tables in this exercise
featured_2023
id title
featured_2024
id title

Back to the chapter