摘要:
==多表查询的两种方法== 方式1:连表操作 inner join 内连接 select * from emp inner join dep on emp.dep_id=dep.id; 只连接两张表中公有的数据部分 left join 左连接 select * from emp left join 阅读全文
摘要:
==字段约束条件== ==无符号、零填充== unsigned id int unsigned zerofill id int(5) zerofill ==非空== create table t1( id int, name varchar(16) ); insert into t1(id) val 阅读全文