What are the names and years of all races that had a driver with the last name Lewis?
SELECT T2.name ,  T2.year FROM results AS T1 JOIN races AS T2 ON T1.raceid = T2.raceid JOIN drivers AS T3 ON T1.driverid = T3.driverid WHERE T3.forename = "Lewis"
driver with the last name Lewis refers to forename = 'Lewis' in drivers table; names and years of all races refers to name and year in races table; joining tables results, races, and drivers is required to match drivers with races based on conditions;