摘要:
show create table t10;--查看表的创建结果 show create table t10\G;--竖列查看 alter table t10 AUTO_INCREMENT =20 --设置自增为20 alter table t2.name char(30); insert into t2(name) values ('yaoming'); ALTER TABLE t2 ALT... 阅读全文
摘要:
MySQL中是索引: 一个表中可以有多列索引,组合起来具有唯一性; 阅读全文
摘要:
mysql中的分页操作结合python 阅读全文
摘要:
分组操作 排序操作 阅读全文
摘要:
1 select * from userinfo ,dapartment where userinfo.part_id = dapartment.id; 2 --左连接: 左边全部显示 3 select * from userinfo left join dapartment on userinfo.part_id=dapartment.id; 4 --右连接:右边... 阅读全文