Use the DISTINCT keyword to eliminate the duplicate rows.
SELECT city, state FROM EmployeesTo list only unique combinations of city and state, use this command:
SELECT DISTINCT city, state FROM Employees
The ROLLUP and CUBE operators do not support the DISTINCT keyword.