
MySQL
是谁注册了我的2052
给我2052
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Mysql键表/函数/存储过程
一:键表 drop table if exists `sub`.`customer_info`; create table `sub`.`customer_info` ( `id` bigint(20) not null AUTO_INCREMENT comment '编号' ,`name` varchar(20) default null comment '姓...原创 2020-01-01 21:43:54 · 243 阅读 · 0 评论 -
MySQL优化
一:查询执行计划 explain sql语句 参数解释: 1.select_type 1. SIMPLE:简单的查询,没有子查询和UNION 2. PRIMARY: 如果有复杂查询的话,标记最外层的查询为primary 3. UNION:例如eg2中的谓语UNION关键字后面的查询就select_type标记为UNION 4. DEPENDENT UNION:UNION中的第二个或后面...原创 2019-11-03 19:27:18 · 219 阅读 · 0 评论