Issue #23760 Fix group by and union by on join table columns.
No need for dummy table when we don't use select *
Add ItemSiteRelation.fetch test queries that were failing.
Fix test assertion
Merge pull request #1544 from bendiy/item-site-list

Issue #23760 Fix group by and union by on join table columns