You should create a reference table that lists all the years that are of interest to you and then left join to that table. You could even construct one on the fly like this and use that:SELECT
t.id, t.wage, t.grp, t.cnty, c.Yr
FROM
(VALUES (1996),(1997),(1998),(1999),(2000)) c(Yr)
LEFT JOIN test t ON t.Yr = c.Yr