mysql
xiaoxiaode_shu
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
mysql索引查询
#在常用的链接类型中:system > const > eq_ref > ref > range > index > all 创建组合索引 create index idx_name_phone on user_innodb(name,phone) #索引 explain select * from user_innodb where name=‘123’ and phone=13434465 #最左匹配原则 去掉name条件索引全部失效 explain select原创 2020-05-24 21:23:22 · 1733 阅读 · 0 评论 -
mysql分页的limit参数
Mysql的分页的两个参数 select * from user limit 1,2 1表示从第几条数据开始查(默认索引是0,如果写1,从第二条开始查) 2,表示这页显示几条数据原创 2020-05-24 12:01:57 · 8981 阅读 · 0 评论
分享