摘要:
1. 补 约束: not null default(不是约束) unique: 名字 primary key: not null + unique foreign key check : 检查约束 alter table student add constraint Check_STUNAME_LE 阅读全文
posted @ 2021-05-16 11:32
剑心空明
阅读(10)
评论(0)
推荐(0)
摘要:
1. 子查询: select 子查询 -- select 子查询 select t1.ename, (select dname from dept t2 where t2.deptno = t1.deptno) from emp t1 -- 限制: 不能对应多行 select dname, (sel 阅读全文
posted @ 2021-05-16 11:29
剑心空明
阅读(15)
评论(0)
推荐(0)

浙公网安备 33010602011771号