title: CASE WHEN with LEFT JOIN?
body: <p>I want to select the left join table depending on a value from other table.
  So I tried this, but not working:</p>
  
  <pre><code>CASE WHEN c.catId LIKE "%s%" THEN 
    LEFT JOIN AppBundle:newspaper_subcategories cat WITH c.catIdShort = cat.id
  ELSE 
    LEFT JOIN AppBundle:newspaper_categories cat WITH c.catIdShort = cat.id
  END
  </code></pre>