Count the duplicates

The inventory team needs the raw numbers: every title that was displayed, including the overlaps twice. UNION ALL skips the de-duplication step — same two queries, one extra word.

Tables in this exercise
featured_2023
id title
featured_2024
id title

Back to the chapter