摘要: 1、-- create database link create database link ORCL.ABC.DEF connect to USER1 using '(DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP) (HOST = 阅读全文
posted @ 2021-02-08 15:31 Caesar_the_great 阅读(73) 评论(0) 推荐(0) 编辑
摘要: select prodSeqNo, placeNo, sum(replaceTimes) from (select * from xxx where prodSeqNo in ('xxx','xxx','vvv')) temp where xxx='xxx' and yyy='yyy' group 阅读全文
posted @ 2021-02-08 15:18 Caesar_the_great 阅读(1534) 评论(0) 推荐(0) 编辑
摘要: //定义list集合 List<P> list = Arrays.asList(new P(1, "哈哈"), new P(2, "嘿嘿"), new P(3, "呵呵")); //从list集合中,取出字段name的列表并去重 List<String> names = list.stream(). 阅读全文
posted @ 2021-02-08 15:01 Caesar_the_great 阅读(18615) 评论(0) 推荐(0) 编辑