摘要: group by SELECT name, sum(num) FROM *** WHERE a = 'bbb' and FROM_UNIXTIME(create_time, '%Y-%m-%d %H:%i:%S') > '2019-09-09 23:25:04' GROUP BY id 阅读全文
posted @ 2021-02-18 16:13 kangjie 阅读(122) 评论(0) 推荐(0) 编辑
摘要: 创建一个表 CREATE TABLE `money` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `nickname` varchar(30) NOT NULL DEFAULT '' COMMENT '微信昵称', `headimgurl` va 阅读全文
posted @ 2021-01-29 18:40 kangjie 阅读(1208) 评论(0) 推荐(0) 编辑
摘要: https://help.aliyun.com/knowledge_detail/41706.html rds中,以字符序对应的字符集名称开头,以_ci(不区分大小写)、_cs(区分大小写)、_bin(按编码值比较,区分大小写)结尾。 mysql中表名大小写配置: 在[mysqld]后添加添加 lo 阅读全文
posted @ 2020-09-10 19:18 kangjie 阅读(1425) 评论(0) 推荐(0) 编辑
摘要: 转载:https://www.cnblogs.com/Fooo/p/9183661.html 查询所有数据库占用磁盘空间大小的SQL语句: select TABLE_SCHEMA, concat(truncate(sum(data_length)/1024/1024,2),' MB') as dat 阅读全文
posted @ 2020-09-10 16:16 kangjie 阅读(302) 评论(0) 推荐(0) 编辑
摘要: Excel-文件-选项-自定义功能区-开发工具(勾选) 开发工具-Visual Basic 注意:删除列时只能倒序删除 暂时还不会删除合并单元格:Selection.MergeCells Sub Del_Col() Application.DisplayAlerts = False Dim myFi 阅读全文
posted @ 2020-08-12 18:49 kangjie 阅读(2505) 评论(0) 推荐(0) 编辑
摘要: public class Accout { private static Account account = new Account(); public static void main(String[] args) { ExecutorService executor = Executors.ne 阅读全文
posted @ 2020-03-14 20:55 kangjie 阅读(210) 评论(0) 推荐(0) 编辑
摘要: 自定义拦截器必须实现:HandlerInterceptor接口。 阅读全文
posted @ 2019-12-11 11:24 kangjie 阅读(282) 评论(0) 推荐(0) 编辑
摘要: 表单验证,必须有Form表单,需要用到form-group 如果使用了 input-group 无法显示出 校验提示 引入: <form> <div class="form-group"> <label>Username</label> <input type="text" class="form- 阅读全文
posted @ 2019-12-06 08:15 kangjie 阅读(801) 评论(0) 推荐(0) 编辑
摘要: 提示日期格式不合法 需要使用 too.dateType()来包装 阅读全文
posted @ 2019-12-05 11:57 kangjie 阅读(4539) 评论(1) 推荐(0) 编辑
摘要: 参考:https://www.jianshu.com/p/1bb4c37ef636 在 bootstrap-table.min.css 中修改源码 //选中行颜色 .fixed-table-container tbody .selected td{background-color:#EEE8AA} 阅读全文
posted @ 2019-11-25 20:14 kangjie 阅读(6516) 评论(0) 推荐(1) 编辑