随笔分类 - mysql
摘要:https://javaguide.cn/database/sql/sql-questions-01.html 小总结 using()函数适用联表字段一致情况的join having能使用select别名筛选 SELECT order_num, COUNT(*) AS items FROM Orde
阅读全文
摘要:DROP TABLE IF EXISTS student_grade; CREATE TABLE student_grade ( stuId int NULL DEFAULT NULL, subId int NULL DEFAULT NULL, grade int NULL DEFAULT NULL
阅读全文