The ON clause in your SQL statement isn't followed by a valid expression. The expression should be in the following format:
{oj C:\QT\orders orders LEFT OUTER JOIN C:\QT\orddtail orddtail ON orders.ORDER_ID = orddtail.ORDER_ID}