Skip to content

← Learn to Code — Python, Java, C, SQL & Web · ⁨编程入门 — Python, Java, C, SQL & Web⁩

Databases & SQL · ⁨数据库与 SQL⁩

Query, design, and change relational databases — right in your browser, no setup. · ⁨查询、设计并修改关系数据库 —— 直接在浏览器中完成,无需安装。⁩

sql 17 Lessons · ⁨课程⁩

Every lesson runs in your browser — write real code, press Run, and the tasks check themselves. Free, no account needed, with translated notes paired with English. · ⁨每节课均在浏览器中运行——编写真实代码,点击运行,任务自动检查。免费,无需账户,配有与英文对照的翻译笔记。⁩

Start the course · ⁨开始课程⁩

Lessons in this course · ⁨本课程中的课程⁩

  1. history A short history of SQL · ⁨SQL 简史⁩ Reading and resources · ⁨阅读与资源⁩
  2. usage What SQL is used for · ⁨SQL 用来做什么⁩ Reading and resources · ⁨阅读与资源⁩
  3. resources Where to learn more · ⁨更多学习资源⁩ Reading and resources · ⁨阅读与资源⁩
  4. setup Set up your computer · ⁨设置你的电脑⁩ Reading and resources · ⁨阅读与资源⁩
  5. 01 Databases and SELECT · ⁨数据库与 SELECT⁩ 2 required tasks · ⁨2 个必做任务⁩ Video · ⁨视频⁩
  6. 02 Choosing columns · ⁨选择列⁩ 2 required tasks · ⁨2 个必做任务⁩ Video · ⁨视频⁩
  7. 03 Filtering with WHERE · ⁨用 WHERE 筛选⁩ 2 required tasks · ⁨2 个必做任务⁩ Video · ⁨视频⁩
  8. 04 AND, OR, NOT · ⁨AND、OR、NOT⁩ 2 required tasks · ⁨2 个必做任务⁩ Video · ⁨视频⁩
  9. 05 Sorting with ORDER BY · ⁨用 ORDER BY 排序⁩ 2 required tasks · ⁨2 个必做任务⁩ Video · ⁨视频⁩
  10. 06 Counting and averaging · ⁨计数与求平均⁩ 2 required tasks · ⁨2 个必做任务⁩ Video · ⁨视频⁩
  11. 07 LIKE, IN and BETWEEN · ⁨LIKE、IN 与 BETWEEN⁩ 2 required tasks · ⁨2 个必做任务⁩ Video · ⁨视频⁩
  12. 08 Grouping with GROUP BY · ⁨用 GROUP BY 分组⁩ 2 required tasks · ⁨2 个必做任务⁩ Video · ⁨视频⁩
  13. 09 Tables, keys and relationships · ⁨表、键与关系⁩ 2 required tasks · ⁨2 个必做任务⁩ Video · ⁨视频⁩
  14. 10 INNER JOIN · ⁨内连接 INNER JOIN⁩ 2 required tasks · ⁨2 个必做任务⁩ Video · ⁨视频⁩
  15. 11 Joins with grouping · ⁨连接与分组⁩ 2 required tasks · ⁨2 个必做任务⁩ Video · ⁨视频⁩
  16. 12 Creating tables · ⁨创建表⁩ 2 required tasks · ⁨2 个必做任务⁩ Video · ⁨视频⁩
  17. 13 Changing the schema · ⁨修改表结构⁩ 2 required tasks · ⁨2 个必做任务⁩ Video · ⁨视频⁩
  18. 14 Inserting rows · ⁨插入行⁩ 2 required tasks · ⁨2 个必做任务⁩ Video · ⁨视频⁩
  19. 15 Updating rows · ⁨更新行⁩ 2 required tasks · ⁨2 个必做任务⁩ Video · ⁨视频⁩
  20. 16 Deleting rows · ⁨删除行⁩ 2 required tasks · ⁨2 个必做任务⁩ Video · ⁨视频⁩
  21. 17 Normalisation · ⁨规范化⁩ 2 required tasks · ⁨2 个必做任务⁩ Video · ⁨视频⁩

Language reference · ⁨语言参考⁩

/know/reference/sql

Log in or create account · ⁨登录或创建账户⁩

IGCSE, A-Level · ⁨IGCSE、A-Level⁩ & AP · ⁨与 AP⁩