When I groupby certain columns, then SELECT other columns not appearing in GROUP BY, there will be the Column \'X\' is invalid in the select list because it is not con
Column \'X\' is invalid in the select list because it is not con