You need to write the SQL query in the correct syntax. Remove the parentheses and add as follows and the problem will be solved.
SELECT * FROM Document LEFT JOIN DocType ON DocType.ID = Document.DocType;