In database management and SQL queries, why is it essential for each GROUP BY expression to include at least one column that is not an outer reference?
a) To avoid SQL injection attacks
b) To ensure data integrity in the database
c) To properly define the granularity of data aggregation
d) To optimize query performance