文章

CS186 杂记

CS186 数据库课程学习杂记

SQL2

  1. SQL Language

    Two sublanguages:

    • DDL: Definition
    • DML: Manipulation
  2. DDL

    Primary Key column(s):

    • Unique.
    • Can be made up of > 1 column. E.g. (firstname, lastname)
  3. DML

    • SELECT
    • SELECT DISTINCT
    • LIMIT: Typically used with ORDER BY
    • Aggregates;;
本文由作者按照 CC BY 4.0 进行授权