title: ERROR: missing FROM-clause entry for table
body: <pre><code>SELECT "region", sum("items"), sum("actcost")
  FROM "apr","Regions"
  WHERE "bnfname" LIKE 'Flucloxacillin %' AND apr.sha=Regions.sha
  GROUP BY "region"
  </code></pre>
  
  <p>Following error given:</p>
  
  <blockquote>
    <p>ERROR: missing FROM-clause entry for table "regions"</p>
  </blockquote>