I have sales table with below columns.
Year,product,country,region,customer,sales
I want to write a scala query to group the data by each column has parameter