- 博客(4)
- 收藏
- 关注
原创 Mysql 找出组内连续数字中缺失的数字
mysql> select * from group_find_value_test;±------±--------+| value | groupId |±------±--------+| 2 | 1 || 4 | 1 || 6 | 1 || 10 | 1 || 1 | 2 || 3 | 2 || 5 | 2 || 9 |
2021-03-08 19:09:06 1272
原创 Mysql分组求平均值
select * from group_avg_test;±--------±------+| groupId | value |±--------±------+| 1 | 1 || 1 | 2 || 2 | 3 || 5 | 3 || 5 | 6 || 5 | 6 || 3 | 2 |±--------±------+select group
2021-03-08 17:44:42 7800
原创 JPS(Jump Point Search)寻路(Java版本)
参考https://github.com/qiao/PathFinding.jspackage pathfind;import java.util.ArrayList;import java.util.List;public class Grid { /** * The number of rows of the grid. */ private int height; /** * The number of columns of the grid. */ priv.
2020-08-20 20:37:56 861 5
原创 shell清空数据库表
#数据库ip地址host=“XXXXXX”#数据库端口port=“XXXXXX”#数据库用户名userName=“XXXXXX”#数据库密码password=“XXXXXX”#数据库名dbName=“XXXXXX”#当前路径currPath="KaTeX parse error: Expected 'EOF', got '#' at position 6: PWD"#̲查询并生成要清空表的命令cm…{dbName}’"#删除以前清空表的命令rm -f currPath/{cur
2020-08-18 16:53:20 1184
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人