摘要:
public class Arr2List { public static void main(String[] args) { int[] data = {4, 5, 3, 6, 2, 5, 1}; // int[] 转 List<Integer> List<Integer> list1 = Ar 阅读全文
摘要:
今天记录一个弱智问题,一直没发现这个问题。 答:看情况 1、当聚集函数和非聚集函数出现在一起时,需要将非聚集函数进行group by 2、当只做聚集函数查询时候,就不需要进行分组了。 举例来说, SELECT SUM(TABLE.A ) FROM TABLE 上述SQL不需要使用Group by 进 阅读全文