摘要: max(id) 获取分组中最大的ID (最新的记录) 外层根据ID获取完整数据 select q.Id, q.asker, q.other -- add other columns here from questions q inner join ( -- get your values from 阅读全文
posted @ 2022-01-19 11:39 Rorchachl 阅读(79) 评论(0) 推荐(0)
摘要: flatMap 将多个数组"烫平", 前:[[a,b],[c,d]] 后:[a,b,c,d] flatMaplamber表达式返回的参数是数组 list.stream().map(item -> Configuration.from(item.getWidgets())) .flatMap(item 阅读全文
posted @ 2022-01-19 10:35 Rorchachl 阅读(34) 评论(0) 推荐(0)