- 博客(6)
- 收藏
- 关注
原创 sql集合运算 -- 案例:找出表中出现次数最多的数字
集合运算主要包括 并、交、差 等运算,在SQL语言中,相应的运算符分别为 union 、intersect 、except 这里举一个 union的例子 创建一个彩票表,假设每期开3个数字 create table lottery( stage_num integer primary key auto_increment, # 期数 n1 integer, n2 integer, n3 integer ); 添加数据 insert into lottery(n1,n2,n3) v
2020-11-01 15:53:16
2529
2
原创 Springboot 的 WebMvcConfigurerAdapter 过时
在Springboot中,我们可以用java配置类代替其他配置,开发中发现自定义配置类 继承WebMvcConfigurerAdapter 已过时,在网上看到可以通过 实现 WebMvcConfigurer接口 来代替。 以下是个人例子 package com.example.springboot_es.config; import io.searchbox.client.JestClient; import io.searchbox.client.JestClientFactory; import io
2020-10-31 15:25:43
335
原创 表复制语句 - select into from 和 insert into select
在做笔试题的时候遇到了类似题目,又是个遗漏的知识点,在这里做个记录 两种表复制语句
2020-10-27 23:07:46
189
原创 数据库索引-B树索引和hash索引的区别
下午做笔试的时候,遇到了一道b树索引和hash索引的题目,还是复习不到位,在网上找到比较好的资料,在这里做个记录 B-Tree索引和Hash索引
2020-10-24 21:34:53
320
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人