SELECT DISTINCT
SELECT DISTINCT column1, column2, ...
FROM table_name;示例数据库演示
CustomerID
CustomerName
ContactName
Address
City
PostalCode
Country
SELECT DISTINCT 实例
SELECT DISTINCT Country FROM Customers;Country
Germany
Mexico
UK
Sweden最后更新于