11 Aug 2024
SQL doesn't accept the grouping if not all non-aggregated columns are included in the group statement.