Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SQL 入门学习路径 #61

Open
astak16 opened this issue Mar 5, 2022 · 0 comments
Open

SQL 入门学习路径 #61

astak16 opened this issue Mar 5, 2022 · 0 comments

Comments

@astak16
Copy link
Owner

astak16 commented Mar 5, 2022

看了三本 SQL 入门书籍:《SQL 基础教程 第二版》、《SQL 必知必会 第五版》、《MySQL 基础教程》,阅读这三本书之后,对 SQL 基础有了一点认识,做一个梳理,后面一点点填坑。

SQL 入门路径

  • SQL 语句的分类: DDLDMLDQLDCL
  • 数据类型
  • 数据库(database)的操作:createalterdrop
  • 数据表(table)的操作: createalterdroprename
  • 数据的查询
    • 数据检索: select
    • 分组: group by
    • 聚合: sumavgminmaxcount
    • 排序: order by
    • 过滤:wherehaving
      • 比较运算符: >=<==><!=
      • 逻辑运算符: orandnot
      • 范围操作: inexistsbetween ... and ...
    • 子查询
      • 关联子查询
      • 非关联子查询
    • 联结表:
      • 交叉连接=笛卡尔积 cross join
      • 自然连接=等值连接 natural join
      • 自连接
      • 外连接
        • 左外连接
        • 右外连接
        • 全外连接
    • 组合查询
  • 数据的修改、删除、插入: updatedeleteinsert
  • 函数
  • 视图
  • 事务
  • 存储过程
  • 游标
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant