title: Missing right parenthesis on inner join.
body: <pre><code>SELECT COUNT(1)
  FROM (CMEOWN.ird_no_preselection_1        AS t1
  INNER JOIN CMEOWN.ird_no_preselection_1_a AS t2
  ON t1.ird_number       = t2.ird_number
  AND t1.location_number = t2.location_number);
  </code></pre>
  
  <p>What am I doing wrong here? </p>