Temporary solution to avoid invalid SQL 'cross join left join A'.