摘要: Select first row in each GROUP BY group? stackflow上面的一个问题。用窗口函数比较简单,但是那些没有窗口函数的数据库怎么办? id | customer | total + + 1 | Joe | 5 2 | Sally | 3 3 | Joe | 2 阅读全文
posted @ 2020-09-29 09:37 疯子110 阅读(2528) 评论(0) 推荐(0) 编辑
摘要: Cannot find bin/catalina.sh The file is absent or does not have execute permission This file is needed to run this program 原因: 没有权限 解决 : chmod 777 *.s 阅读全文
posted @ 2020-09-29 09:34 疯子110 阅读(287) 评论(0) 推荐(0) 编辑
摘要: 问题:最近在做App上传附件的过程中,需要将图片转成base64字符串,发现上传的附件超过2M后台报错,无法上传。 分析:POST请求本身并未限制传入参数大小,是tomcat 容器设置了接收参数大小的限制。 解决:刚开始将maxPostSize设为0后,发现不起作用,又将maxPostSize设为- 阅读全文
posted @ 2020-09-29 09:32 疯子110 阅读(1267) 评论(0) 推荐(0) 编辑
摘要: PostgreSQL出了个错无法继续。分开各自安装,终于搞明白,安装的时候locale不能选默认,而要选C,记录下,免得以后又忘了。 阅读全文
posted @ 2020-09-29 09:28 疯子110 阅读(1329) 评论(0) 推荐(0) 编辑