摘要:
子查询 案例:创建部门表 和 员工表(熟悉子查询) -- 部门表 CREATE TABLE dept( id int auto_increment comment "ID" primary key , name varchar(50) not null comment "部门名称" )comment 阅读全文
posted @ 2023-12-07 11:57
马铃薯1
阅读(172)
评论(0)
推荐(0)
摘要:
联合查询 对于union查询,就是把多次查询的结果合并起来,形成一个新的查询结果集 案例:创建部门表 和 员工表(熟悉联合查询) -- 部门表 CREATE TABLE dept( id int auto_increment comment "ID" primary key , name varch 阅读全文
posted @ 2023-12-07 11:32
马铃薯1
阅读(270)
评论(0)
推荐(0)

浙公网安备 33010602011771号