Home | 簡體中文 | 繁體中文 | 雜文 | 打賞(Donations) | ITEYE 博客 | OSChina 博客 | Facebook | Linkedin | 知乎專欄 | Search | Email

第 26 章 SQL Statement Syntax

Structured Query Language

目錄

26.1. DISTINCT
26.2. group by
26.3. HAVING
26.4. REGEXP
26.5. IN / NOT IN
26.6. ALL / Any
26.7. exists, not exists
26.8. UNION
26.8.1. UNION ALL
26.9. OUTFILE/LOAD DATA INFILE
26.9.1. Export data to CSV from MySQL
26.9.2. Import data from CSV file.
26.10. MySQL 專有命令
26.10.1. SQL_NO_CACHE
26.10.2. SIGNAL Syntax
26.11. SQL 92

26.1. DISTINCT

SELECT DISTINCT user.name FROM user

SELECT DISTINCT user.name FROM user