user: Question: What Year has a Tyre of D, anD Chassis of Mazda 787?
Columns: ['Year', 'Class', 'Team', 'Chassis', 'Tyre', 'Laps']
Types: ['real', 'text', 'text', 'text', 'text', 'real']
Sample row: [1992.0, 'C1', 'Mazdaspeed Co. Ltd. Oreca', 'Mazda MXR-01', 'M', 336.0]
SQL:

assistant: SELECT "Year" FROM "Table" WHERE "Tyre" = 'D' AND "Chassis" = 'Mazda 787';