SELECT * FROM products WHERE date_column >= add_months( sysdate, -12*5 )
or
SELECT * FROM products WHERE date_column >= sysdate - interval '5' year
both will give you all the lines in the last 5 years (although you would usually like to add TRUNC to remove the temporary part if you really don't like whether the line was created on February 8, 2007 morning or afternoon).
Justin cave
source share