摘要: 1、聚合(主要采用聚合函数),group by 先分组,后聚合 2、union 列相同(all、distinct) 3、join :left、inner 4、子查询: where in (子查询语句) //包含 where not in (子查询语句) //不包含 where exist (子查询语 阅读全文
posted @ 2021-01-28 11:52 涓河樵 阅读(324) 评论(0) 推荐(0) 编辑
摘要: 1、插入 --简单插入-- INSERT INTO Table_1 VALUES(1,2); GO --指定列名和值-- --INSERT INTO 表名(列名1,列名2,...) VALUES(列1的值,列2的值); INSERT INTO Table_1(Ty,Sy) VALUES(1,2); 阅读全文
posted @ 2021-01-28 10:42 涓河樵 阅读(92) 评论(0) 推荐(0) 编辑