摘要:
子查询 案例:创建部门表 和 员工表(熟悉子查询) -- 部门表 CREATE TABLE dept( id int auto_increment comment "ID" primary key , name varchar(50) not null comment "部门名称" )comment 阅读全文
摘要:
联合查询 对于union查询,就是把多次查询的结果合并起来,形成一个新的查询结果集 案例:创建部门表 和 员工表(熟悉联合查询) -- 部门表 CREATE TABLE dept( id int auto_increment comment "ID" primary key , name varch 阅读全文