摘要:
1、内连接:符合关联条件的记录被检索出来,不符合条件的过滤掉; 两张表内连接格式: select 字段列表 from 表1 [inner] join 表2 on 关联条件; 初始两张表中数据: 现需要将学生表中姓名、学号和班级表中的班级号放在一张表中; select student.student_ 阅读全文
posted @ 2023-05-25 21:54
QianFa01
阅读(78)
评论(0)
推荐(0)
摘要:
1、select语句:select格式: select 字段列表 from 数据源 [where 条件表达式] [group by 分组字段[ having 条件表达式]] [ order by 排序字段[asc | desc]] where字句 用于指定记录的过滤条件,group by 子句用于对 阅读全文
posted @ 2023-05-25 20:14
QianFa01
阅读(154)
评论(0)
推荐(0)
摘要:
DML操作: Data Manipulation Language,数据操纵语言;包含insert、update、delete操作; 1、单行插入数据格式: insert into 表名【字段列表】 values(值列表); 向教师表插入: insert into teacher values('0 阅读全文
posted @ 2023-05-25 13:56
QianFa01
阅读(142)
评论(0)
推荐(0)
浙公网安备 33010602011771号