CREATE TABLE table_name_55 (year VARCHAR(255), tyre VARCHAR(255), chassis VARCHAR(255))
What Year has a Tyre of D, and Chassis of Mazda 787?
    
SQL: SELECT year FROM table_name_55 WHERE tyre = "d" AND chassis = "mazda 787"