摘要: 1.内连接查询:inner join 2.外连接操作: left join【左子集全部记录在生成表中,若无匹配,则右记录为空】 right join 【右子集全部记录在生成表中,若无匹配,则左记录为空】 3.where 和 on的区别: 阅读全文
posted @ 2017-04-05 18:08 chxbar 阅读(158) 评论(0) 推荐(0) 编辑
摘要: 2 DML语句【数据操纵语句】 2.1 插入数据 1.为表的所有字段插入数据:insert into 表名 values("值1","值2","值3","值4"); 或者 insert into 表名(字段名1,字段名2,字段名3,字段名4) values("值1","值2","值3","值4"); 阅读全文
posted @ 2017-04-05 12:47 chxbar 阅读(189) 评论(0) 推荐(0) 编辑