Structured Query Language
目录
-
6.1. DISTINCT
6.2. group by
6.3. HAVING
6.4. REGEXP
6.5. IN / NOT IN
6.6. ALL / Any
6.7. exists, not exists
6.8. UNION
-
-
6.8.1. UNION ALL
6.9. OUTFILE/LOAD DATA INFILE
-
-
6.9.1. Export data to CSV from MySQL
6.9.2. Import data from CSV file.
6.10. CASE Syntax
6.11. MySQL 专有命令
-
-
6.11.1. SQL_NO_CACHE
6.11.2. SIGNAL Syntax
6.12. SQL 92
6.1. DISTINCT
SELECT DISTINCT user.name FROM user
SELECT DISTINCT user.name FROM user
原文出处:Netkiller 系列 手札
本文作者:陈景峯
转载请与作者联系,同时请务必标明文章原始出处和作者信息及本声明。