title: AWS Athena (Presto) - inner join syntax
body: <p>What is wrong with this statement?</p>
  <pre><code>select e.*
  FROM 
      edgar_revenue as e,
      INNER JOIN xbrl as x
      ON x.&quot;cik&quot; = e.&quot;cik&quot;
  </code></pre>
  <blockquote>
  <p>line 4:5: mismatched input 'INNER'. Expecting: '(', 'LATERAL', 'UNNEST', </p>
  </blockquote>
  <p><a href="https://i.stack.imgur.com/JlCwj.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/JlCwj.png" alt="enter image description here" /></a></p>
  <p><a href="https://i.stack.imgur.com/bTONZ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/bTONZ.png" alt="enter image description here" /></a></p>