You have written query in wrong way. try this
SELECT *
FROM TABLE1
LEFT JOIN TABLE2 <-- Give "ON with condition" i.e. below "ON TABLE1.ID = TABLE2.ID"
INNER JOIN TABLE3 ON TABLE2.ID = TABLE3.ID
ON TABLE1.ID = TABLE2.ID
<-- You can not add 2 ON condition with one join
Right Query will be :
SELECT *
FROM TABLE1
LEFT JOIN TABLE2 ON TABLE1.ID = TABLE2.ID
INNER JOIN TABLE3 ON TABLE2.ID = TABLE3.ID