question: During which years was the Model 318td (diesel) with the Engine code of m47d20 manufactured?
answer: SELECT years FROM table_name_64 WHERE engine_code = "m47d20" AND model = "318td (diesel)"
context: CREATE TABLE table_name_64 (years VARCHAR, engine_code VARCHAR, model VARCHAR)