您可能感兴趣的话题: sql,唯一值
核心提示:SQL SELECT 语句
在表中,一个列可能会包含多个重复值,有时您也许希望仅仅列出不同(distinct)的值。
DISTINCT 关键词便可以用来解决这个问题。
我们将使用众所周知的 Northwind 样本数据库。下面是选自 "Customers" 表的数据:
CustomerID | CustomerName | ContactName | Address |
---|
您可能感兴趣的话题: sql,唯一值
核心提示:SQL SELECT 语句
在表中,一个列可能会包含多个重复值,有时您也许希望仅仅列出不同(distinct)的值。
DISTINCT 关键词便可以用来解决这个问题。
我们将使用众所周知的 Northwind 样本数据库。下面是选自 "Customers" 表的数据:
CustomerID | CustomerName | ContactName | Address |
---|