What's wrong with this query?

The ON keyword before the condition is missingThe INNER JOIN keywords are not validThe SELECT statement is missing

The ON keyword before the condition is missing.