Are the names of the columns you want to add data to, and value1, value2, … GROUP BY groups together rows that have the same values in specified columns. It computes summaries (aggregates) for each unique combination of values. CROSS JOIN returns all possible combinations…