私はしようとしています
$query = $em->createQuery(
'SELECT id, name, beginDate, endDate FROM SmartguideEntityBundle:Promotion1 UNION SELECT id, name, beginDate, endDate FROM SmartguideEntityBundle:Promotion2'
);
しかし結果は
Error: Expected end of string, got 'SELECT'
どうすれば解決できますか