CS186 杂记
CS186 数据库课程学习杂记
SQL2
SQL Language
Two sublanguages:
- DDL: Definition
- DML: Manipulation
DDL
Primary Key column(s):
- Unique.
- Can be made up of > 1 column. E.g. (firstname, lastname)
DML
SELECT
SELECT DISTINCT
LIMIT
: Typically used withORDER BY
- Aggregates;;
本文由作者按照 CC BY 4.0 进行授权