alter table CPI add column year_label varchar(255) default null; update CPI set year_label = year where year in ('2007', '2006', '2000', '1990', '1980', '1970', '1940'); plot whiskers very big hortick, datalabels right with scale y 0 250 50 select Average, year_label from CPI where year < 2007; alter table CPI drop column year_label;