随笔 - 256  文章 - 2  评论 - 18  阅读 - 123万
11 2020 档案
MySQL Explain详解
摘要:https://www.cnblogs.com/tufujie/p/9413852.html https://segmentfault.com/a/1190000021458117?utm_source=tag-newest 阅读全文
posted @ 2020-11-16 16:57 腾逸 阅读(164) 评论(0) 推荐(0) 编辑
sql查询:存在A表而不在B表中的数据
摘要:A、B两表,找出ID字段中,存在A表,但是不存在B表的数据。 方法一:使用 not inselect distinct A.ID from A where A.ID not in (select ID from B) 方法二:使用 left join...on... , "B.ID isnull" 阅读全文
posted @ 2020-11-13 16:23 腾逸 阅读(4274) 评论(0) 推荐(1) 编辑
mybatis处理集合、数组参数使用in查询
摘要:对于mybatis的参数类型是集合数组的时候进行查询。 第一种:参数list ,使用mybatis的标签 1 SELECT * FROM TABLE_NAME AS a WHERE 2 3 a.id not in #{extraIds} 4 <foreach collection="extraIds 阅读全文
posted @ 2020-11-11 11:02 腾逸 阅读(2438) 评论(0) 推荐(0) 编辑
mysql日期范围查找(两个日期之间的记录)
摘要:转自:https://blog.csdn.net/lzxlfly/article/details/97577575?utm_medium=distribute.pc_relevant_t0.none-task-blog-BlogCommendFromMachineLearnPai2-1.channe 阅读全文
posted @ 2020-11-09 15:38 腾逸 阅读(19002) 评论(0) 推荐(0) 编辑
MYSQL查询数据表中某个字段包含某个数值
摘要:当某个字段中字符串是"1,2,3,4,5,6"或者"123456"查询数据表中某个字段是否包含某个值1:模糊查询 使用like select * from 表 where 字段 like '%1%';2:函数查找 find_in_set(str,数组)select * from 表 where fi 阅读全文
posted @ 2020-11-08 14:18 腾逸 阅读(30936) 评论(0) 推荐(0) 编辑
springboot+jpa分页(Pageable+Page)
摘要:Pageable+Page实现分页无需配置,也不需要加入jar包(maven依赖) 1 package com.gxuwz.late.controller; 2 3 import com.gxuwz.late.bean.Record; 4 import com.gxuwz.late.reposito 阅读全文
posted @ 2020-11-08 13:26 腾逸 阅读(1456) 评论(0) 推荐(0) 编辑
MySQL单表能存储多少条数据?
摘要:MySQL是中小型网站普遍使用的数据库之一,然而,很多人并不清楚MySQL到底能支持多大的数据量,甚至对它产生误解。MySQL单表的上限,主要与操作系统支持的最大文件大小有关。事实上MySQL能承受的数据量的多少主要和数据表的结构有关,并不是一个固定的数值。表的结构简单,则能承受的数据量相对比结构复 阅读全文
posted @ 2020-11-06 17:21 腾逸 阅读(16300) 评论(0) 推荐(2) 编辑
nosql几种热门数据库的优缺点及应用场景
摘要:MongoDB、ElasticSearch、Redis、HBase这四种热门数据库的优缺点及应用场景 https://www.cnblogs.com/chong-zuo3322/p/12869059.html 阅读全文
posted @ 2020-11-06 16:55 腾逸 阅读(381) 评论(0) 推荐(0) 编辑
MySQL百万级数据分页查询及优化
摘要:https://mp.weixin.qq.com/s?__biz=MzI4ODQ3NjE2OA==&mid=2247484977&idx=1&sn=2a33aa91ef7706b4e656f8c3ec96957c&chksm=ec3c9b56db4b12400f7745590bd3f448390e9 阅读全文
posted @ 2020-11-06 15:45 腾逸 阅读(213) 评论(0) 推荐(0) 编辑

< 2025年2月 >
26 27 28 29 30 31 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 1
2 3 4 5 6 7 8

点击右上角即可分享
微信分享提示