摘要:
比如说要获取班级的前3名,oracle 可以用 over partition by 来做。mysql就可以用GROUP_CONCAT + GROUP BY + substring_index实现。 考试表 DROP TABLE IF EXISTS `test`;CREATE TABLE `test` 阅读全文
阅读排行榜
intellij idea 17 log4j 中文乱码
2017-06-26 19:02 by 一心只想蒹葭, 837 阅读, 收藏,
摘要:
先是在intellij idea里设置没有得到解决, 然后在tomcat的server.xml里设置没有得到解决, 再然后在log4j配置文件里配置没有得到解决。 以下是解决方案。 C:\Program Files\JetBrains\IntelliJ IDEA 2017.1.4\bin 下设置id 阅读全文
java递归算法实现 数字人民币大写转换
2017-02-28 18:33 by 一心只想蒹葭, 465 阅读, 收藏,
摘要:
最近穷死了 ,没钱吃饭ing 写点钱给自己吧!public class Test{ public static String getChar(long a){ int b = (int)a; Map map = new HashMap(); map.put(0,"零"); map.put(1,"壹" 阅读全文
浙公网安备 33010602011771号