SQL group where 3 columns are same code example
Example: how to select two columns from table with group by one sql server
SELECT Name, Size, AVG( UnitPrice )
FROM Products
GROUP BY Name, Size;
SELECT Name, Size, AVG( UnitPrice )
FROM Products
GROUP BY Name, Size;