<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[gingerMr的博客]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/gingerMr</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; gingerMr]]></copyright><item><title><![CDATA[MySQL12_基础_数据类型]]></title><link>https://blog.csdn.net/gingerMr/article/details/121665903</link><guid>https://blog.csdn.net/gingerMr/article/details/121665903</guid><author>gingerMr</author><pubDate>Sun, 23 Jan 2022 23:17:13 +0800</pubDate><description><![CDATA[文章目录数据类型1. MySQL中的数据类型2. 整数类型2.1 类型介绍2.2 可选属性2.2.1 M2.2.2 UNSIGNED2.2.3 ZEROFILL2.3 适用场景2.4 如何选择？3. 浮点类型3.1 类型介绍3.2 数据精度说明3.3 精度误差说明4. 定点数类型4.1 类型介绍4.2 开发中经验5. 位类型：BIT6. 日期与时间类型6.1 YEAR类型6.2 DATE类型6.3 TIME类型6.4 DATETIME类型6.5 TIMESTAMP类型6.6 开发中经验7. 文本字符串类型7]]></description><category></category></item><item><title><![CDATA[MySQL11_基础_数据处理之增删改]]></title><link>https://blog.csdn.net/gingerMr/article/details/121665890</link><guid>https://blog.csdn.net/gingerMr/article/details/121665890</guid><author>gingerMr</author><pubDate>Sat, 22 Jan 2022 12:54:49 +0800</pubDate><description><![CDATA[文章目录数据处理之增删改1. 插入数据1.1 实际问题1.2 方式1：VALUES的方式添加1.3 方式2：将查询结果插入到表中2. 更新数据3. 删除数据4. MySQL8新特性：计算列5. 综合案例6. 练习6.1 练习16.2 练习26.3 练习3
数据处理之增删改
1. 插入数据
1.1 实际问题

解决方式：使用 INSERT 语句向表中插入数据。
准备数据库环境
CREATE DATABASE mytest;
USE mytest;
CREATE TABLE IF NOT EXISTS emp1]]></description><category></category></item><item><title><![CDATA[MySQL10_基础_创建和管理表]]></title><link>https://blog.csdn.net/gingerMr/article/details/121665883</link><guid>https://blog.csdn.net/gingerMr/article/details/121665883</guid><author>gingerMr</author><pubDate>Sun, 16 Jan 2022 11:30:19 +0800</pubDate><description><![CDATA[文章目录创建和管理表1. 基础知识1.1 一条数据存储的过程1.2 标识符命名规则1.3 MySQL中的数据类型2.  创建和管理数据库2.1 创建数据库2.2 使用数据库2.3 修改数据库2.4 删除数据库3. 创建表3.1  创建方式13.2 创建方式24. 修改表4.1 追加一个列4.2 修改一个列4.3 重命名一个列4.4 删除一个列5. 重命名表6. 删除表7. 清空表7.1 DELETE FROM 回滚演示7.2 TRUNCATE TABLE 回滚演示8.  内容拓展拓展1：阿里巴巴《Java开]]></description><category></category></item><item><title><![CDATA[MySQL9_基础_子查询]]></title><link>https://blog.csdn.net/gingerMr/article/details/121665836</link><guid>https://blog.csdn.net/gingerMr/article/details/121665836</guid><author>gingerMr</author><pubDate>Sun, 09 Jan 2022 13:52:43 +0800</pubDate><description><![CDATA[文章目录子查询1. 需求分析与问题解决1.1 实际问题1.2 子查询的基本使用1.3 子查询的分类1.3.1 分类方式11.3.2 分类方式22. 单行子查询2.1 单行比较操作符2.2 代码示例2.3 HAVING 中的子查询2.4 CASE中的子查询2.5 空值问题2.6 非法使用子查询3. 多行子查询3.1 多行比较操作符3.2 代码示例3.2.1 IN3.2.2 ANY / ALL3.3 空值问题4. 相关子查询4.1 相关子查询执行流程4.2 代码示例4.2.1 方式一：相关子查询4.2.2 方式]]></description><category></category></item><item><title><![CDATA[MySQL8_基础_聚合函数]]></title><link>https://blog.csdn.net/gingerMr/article/details/122265286</link><guid>https://blog.csdn.net/gingerMr/article/details/122265286</guid><author>gingerMr</author><pubDate>Sat, 01 Jan 2022 23:17:16 +0800</pubDate><description><![CDATA[文章目录聚合函数1. 聚合函数介绍1. AVG和SUM函数2. MIN和MAX函数3.  COUNT函数2. GROUP BY2.1 基本使用2.2 使用多个列分组2.3 GROUP BY中使用WITH ROLLUP3. HAVING3.1 基本使用3.2 WHERE和HAVING的对比4. SELECT的执行过程4.1 查询的结构4.2  SELECT执行顺序4.3 SQL 的执行原理5. 练习
聚合函数
1. 聚合函数介绍


什么是聚合函数
聚合函数作用于一组数据，并对一组数据返回一个值。



聚合]]></description><category></category></item><item><title><![CDATA[Spring]]></title><link>https://blog.csdn.net/gingerMr/article/details/122196718</link><guid>https://blog.csdn.net/gingerMr/article/details/122196718</guid><author>gingerMr</author><pubDate>Tue, 28 Dec 2021 18:18:55 +0800</pubDate><description><![CDATA[文章目录spring概念1.Spring 的发展历程2.spring 的优势1.方便解耦，简化开发2.AOP 编程的支持3.声明式事务的支持4.方便程序的测试5.方便集成各种优秀框架6.降低 JavaEE API 的使用难度7.Java 源码是经典学习范例3.spring 的体系结构4.spring在3层架构位置图解IoC 的概念和作用1.什么是程序的耦合1.反射解耦2.工厂模式解耦2.控制反转-Inversion Of Control使用 spring 的 IOC 解决程序耦合1.准备 spring 的开]]></description><category></category></item><item><title><![CDATA[MySQL7_基础_单行函数]]></title><link>https://blog.csdn.net/gingerMr/article/details/121665815</link><guid>https://blog.csdn.net/gingerMr/article/details/121665815</guid><author>gingerMr</author><pubDate>Fri, 24 Dec 2021 23:02:38 +0800</pubDate><description><![CDATA[文章目录单行函数1. 函数的理解1.2 不同DBMS函数的差异1.3  MySQL的内置函数及分类2. 数值函数2.1 基本函数2.1.1 基本的操作2.1.2 取随机数2.1.3 四舍五入，截断操作2.2 角度与弧度互换函数2.3 三角函数2.4 指数与对数2.5 进制间的转换3. 字符串函数3.1 ASCII(S)3.2 CHAR_LENGTH(s)3.3 LENGTH(s)3.4 CONCAT(s1,s2,......,sn)3.4 CONCAT_WS(x, s1,s2,......,sn)3.5 I]]></description><category></category></item><item><title><![CDATA[MySQL6_基础_多表查询]]></title><link>https://blog.csdn.net/gingerMr/article/details/121665803</link><guid>https://blog.csdn.net/gingerMr/article/details/121665803</guid><author>gingerMr</author><pubDate>Sun, 19 Dec 2021 22:20:48 +0800</pubDate><description><![CDATA[文章目录多表查询1. 一个案例引发的多表连接1.1 案例说明1.2 笛卡尔积（或交叉连接）的理解1.3 案例分析与问题解决2. 多表查询分类讲解2.1 分类1：等值连接 vs 非等值连接2.1.1 等值连接2.1.1.1 拓展1：多个连接条件与 AND 操作符2.1.1.2 拓展2：区分重复的列名2.1.1.3 拓展3：表的别名2.1.1.4 拓展4：连接多个表2.1.2 非等值连接2.2 分类2：自连接 vs 非自连接2.2.1 自连接2.2.2 非自连接2.3 分类3：内连接 vs 外连接2.3.1 内]]></description><category></category></item><item><title><![CDATA[MySQL5_基础_排序与分页]]></title><link>https://blog.csdn.net/gingerMr/article/details/121665787</link><guid>https://blog.csdn.net/gingerMr/article/details/121665787</guid><author>gingerMr</author><pubDate>Sat, 18 Dec 2021 13:29:26 +0800</pubDate><description><![CDATA[文章目录排序与分页1. 排序数据1.1 排序规则1.2 单列排序1.3 多列排序2.  分页2.1 背景2.2 实现规则2.3 分页2.4 拓展3. 练习
排序与分页
1. 排序数据
# 如果没有使用排序操作，默认情况下查询返回的数据是按照添加数据的顺序显示的。
SELECT * FROM employees;


1.1 排序规则

使用 ORDER BY 子句排序

ASC（ascend）: 升序
DESC（descend）:降序


ORDER BY 子句在SELECT语句的结尾。

1.2 单列排序]]></description><category></category></item><item><title><![CDATA[MySQL4_基础_运算符]]></title><link>https://blog.csdn.net/gingerMr/article/details/121665758</link><guid>https://blog.csdn.net/gingerMr/article/details/121665758</guid><author>gingerMr</author><pubDate>Sun, 12 Dec 2021 23:04:25 +0800</pubDate><description><![CDATA[文章目录运算符1. 算术运算符1.1 加法与减法运算符1.2 乘法与除法运算符1.3 求模（求余）运算符2. 比较运算符2.1 等号运算符2.2 安全等于运算符2.3 不等于运算符2.4 非符号类型的运算符2.4.1 空运算符2.4.2 非空运算符2.4.3 最小值运算符2.4.4 最大值运算符2.4.5 BETWEEN AND运算符2.4.6 IN运算符2.4.7 NOT IN运算符2.4.8 LIKE运算符2.4.8.1 %2.4.8.2 _2.4.8.3 ESCAPE2.4.9 REGEXP运算符3.]]></description><category></category></item><item><title><![CDATA[MySQL3_基础_基本的 SELECT 语句]]></title><link>https://blog.csdn.net/gingerMr/article/details/121665723</link><guid>https://blog.csdn.net/gingerMr/article/details/121665723</guid><author>gingerMr</author><pubDate>Sun, 05 Dec 2021 10:37:37 +0800</pubDate><description><![CDATA[文章目录基本的 SELECT 语句1. SQL概述1.1 SQL背景知识1.2 SQL语言排行榜1.3 SQL 分类2. SQL语言的规则与规范2.2 SQL大小写规范 （建议遵守）2.3 注 释2.4 命名规则（暂时了解）2.5 数据导入指令3. 基本的SELECT语句3.1 SELECT...3.2 SELECT ... FROM3.3 列的别名3.4 去除重复行3.5 空值参与运算3.6 着重号3.7 查询常数4. 显示表结构5. 过滤数据6. 练习
基本的 SELECT 语句
1. SQL概述
1.]]></description><category></category></item><item><title><![CDATA[MySQL2_基础_MySQL环境搭建]]></title><link>https://blog.csdn.net/gingerMr/article/details/121665697</link><guid>https://blog.csdn.net/gingerMr/article/details/121665697</guid><author>gingerMr</author><pubDate>Sat, 04 Dec 2021 16:28:54 +0800</pubDate><description><![CDATA[文章目录MySQL环境搭建1. MySQL的卸载步骤1：停止MySQL服务步骤2：软件的卸载步骤3：残余文件的清理步骤4：清理注册表（选做）步骤5：删除环境变量配置2. MySQL的下载、安装、配置2.1 MySQL的4大版本2.2 软件的下载2.3 MySQL8.0 版本的安装2.4 配置MySQL8.02.5 配置MySQL8.0 环境变量2.6 MySQL5.7 版本的安装、配置2.7 安装失败问题3. MySQL的登录3.1 服务的启动与停止方式1：使用图形界面工具方式2：使用命令行工具3.2 自带]]></description><category></category></item><item><title><![CDATA[MySQL1_基础_数据库概述]]></title><link>https://blog.csdn.net/gingerMr/article/details/121665685</link><guid>https://blog.csdn.net/gingerMr/article/details/121665685</guid><author>gingerMr</author><pubDate>Sat, 04 Dec 2021 12:22:40 +0800</pubDate><description><![CDATA[文章目录数据库概述1. 为什么要使用数据库2. 数据库与数据库管理系统2.1 数据库的相关概念2.2 数据库与数据库管理系统的关系2.3 常见的数据库管理系统排名(DBMS)2.4 常见的数据库介绍3. MySQL介绍3.1 概述3.2 MySQL发展史重大事件3.3 关于MySQL 8.03.4 Why choose MySQL?3.5  Oracle vs MySQL4. RDBMS 与 非RDBMS4.1 关系型数据库(RDBMS)4.1.1 实质4.1.2 优势4.2 非关系型数据库(非RDBMS)]]></description><category></category></item><item><title><![CDATA[Mybatis10_其他操作]]></title><link>https://blog.csdn.net/gingerMr/article/details/119964307</link><guid>https://blog.csdn.net/gingerMr/article/details/119964307</guid><author>gingerMr</author><pubDate>Sat, 28 Aug 2021 10:05:15 +0800</pubDate><description><![CDATA[文章目录Mybatis11 其他1. Mybatis 批量操作1.1 批量操作演示1.2 非批量操作演示1.3 与 Spring 整合执行批量操作2. 存储过程3. 自定义 TypeHandler 处理枚举3.1 测试全局配置 EnumTypeHandler3.2 测试全局配置 EnumOrdinalTypeHandler3.3 测试参数位置设置自定义 TypeHandler
Mybatis11 其他
1. Mybatis 批量操作
其实前面有写过 Mysql 或者 Oracle的批量操作，但是那不是真正意]]></description><category></category></item><item><title><![CDATA[MyBatis9_插件]]></title><link>https://blog.csdn.net/gingerMr/article/details/119964119</link><guid>https://blog.csdn.net/gingerMr/article/details/119964119</guid><author>gingerMr</author><pubDate>Sat, 28 Aug 2021 09:57:25 +0800</pubDate><description><![CDATA[文章目录MyBatis10_插件1. 插件原理2. 插件编写步骤3. 多个插件运行流程4. 插件开发5. PageHelper插件进行分页5.1 PageHelper使用步骤5.1.1 引入分页插件5.1.2 配置拦截器插件5.1.2.1 在 MyBatis 配置 xml 中配置拦截器插件5.1.2.2 在 Spring 配置文件中配置拦截器插件5.1.2.3 分页插件参数介绍5.1.2.4 如何选择配置这些参数5.1.3 如何在代码中使用
MyBatis10_插件
MyBatis在四大对象的创建过程中，都]]></description><category></category></item><item><title><![CDATA[MyBatis8_工作原理]]></title><link>https://blog.csdn.net/gingerMr/article/details/119963818</link><guid>https://blog.csdn.net/gingerMr/article/details/119963818</guid><author>gingerMr</author><pubDate>Sat, 28 Aug 2021 09:30:32 +0800</pubDate><description><![CDATA[/**
 * 1、获取sqlSessionFactory对象:
 * 		解析文件的每一个信息保存在Configuration中，返回包含Configuration的DefaultSqlSession；
 * 		注意：【MappedStatement】：代表一个增删改查的详细信息
 * 
 * 2、获取sqlSession对象
 * 		返回一个DefaultSQlSession对象，包含Executor和Configuration;
 * 		这一步会创建Executor对象；
 * 
 * 3、获取.]]></description><category></category></item><item><title><![CDATA[MyBatis7_逆向工程]]></title><link>https://blog.csdn.net/gingerMr/article/details/119879152</link><guid>https://blog.csdn.net/gingerMr/article/details/119879152</guid><author>gingerMr</author><pubDate>Mon, 23 Aug 2021 22:28:34 +0800</pubDate><description><![CDATA[文章目录MyBatis 逆向工程1. MyBatisGenerator1.1 使用步骤2. MyBatisGenerator 使用
MyBatis 逆向工程
MyBatis Generator：

简称MBG，是一个专门为MyBatis框架使用者定制的代码生成器，可以快速的根据表生成对应的映射文件，接口，以及bean类。支持基本的增删改查，以及QBC风格的条件查询，但是表连接、存储过程等这些复杂sql的定义需要我们手工编写。
官方文档地址：http://www.mybatis.org/generator/
]]></description><category></category></item><item><title><![CDATA[MyBatis6_SSM]]></title><link>https://blog.csdn.net/gingerMr/article/details/119875894</link><guid>https://blog.csdn.net/gingerMr/article/details/119875894</guid><author>gingerMr</author><pubDate>Mon, 23 Aug 2021 21:56:28 +0800</pubDate><description><![CDATA[文章目录MyBatis SSMMyBatis7Spring整合1.导包
MyBatis SSM
1、查看不同MyBatis版本整合Spring时使用的适配包
http://www.mybatis.org/spring/
2、下载整合适配包
https://github.com/mybatis/spring/releases

3、官方整合示例 jpetstore
https://github.com/mybatis/jpetstore-6
MyBatis7Spring整合
1.导包
springjar包
!]]></description><category></category></item><item><title><![CDATA[Mybatis5_缓存机制]]></title><link>https://blog.csdn.net/gingerMr/article/details/119853208</link><guid>https://blog.csdn.net/gingerMr/article/details/119853208</guid><author>gingerMr</author><pubDate>Sun, 22 Aug 2021 22:37:23 +0800</pubDate><description><![CDATA[文章目录MyBatis 缓存机制1. 一级缓存1.1 一级缓存演示和失效情况1.1.1 一级缓存演示1.1.2 一级缓存失效2. 二级缓存2.1 二级缓存演示2.2 缓存有关设置3. 缓存原理图4. 第三方缓存整合4.1 第三方缓存演示
MyBatis 缓存机制
MyBatis 包含一个非常强大的查询缓存特性,它可以非常方便地配置和定制，缓存可以极大的提升查询效率。
MyBatis系统中默认定义了两级缓存。
一级缓存和二级缓存

1、默认情况下，只有一级缓存（SqlSession 级别的缓存，也称为本地缓存]]></description><category></category></item><item><title><![CDATA[Mybatis4_动态SQL]]></title><link>https://blog.csdn.net/gingerMr/article/details/119852456</link><guid>https://blog.csdn.net/gingerMr/article/details/119852456</guid><author>gingerMr</author><pubDate>Sun, 22 Aug 2021 15:27:59 +0800</pubDate><description><![CDATA[文章目录MyBatis 动态SQL1. if2. choose (when, otherwise)3. trim (where, set)3.1 where3.2 set3.3 trim4. foreach4.1 遍历集合4.2 mysql下批量插入两种方式4.2.1 方式14.2.2 方式24.3 oracle下批量插入两种方式4.3.1 方式14.3.2 方式25. 内置参数 _parameter 和 databaseId6. bind7. sql
MyBatis 动态SQL

动态 SQL是MyBat]]></description><category></category></item></channel></rss>