Instruct: During which years was the Model 318td (diesel) with the Engine code of m47d20 manufactured?
Output: SELECT Years FROM table WHERE Engine code = m47d20 AND Model = 318td (diesel)