我的github
上一页 1 ··· 80 81 82 83 84 85 86 87 88 ··· 131 下一页
摘要: group by having max 参考:https://blog.51cto.com/u_16213600/6983022 参考2:https://www.cnblogs.com/2008nmj/p/16628913.html SELECT xxx,min(bbb) FROM "table1" 阅读全文
posted @ 2024-01-12 10:56 XiaoNiuFeiTian 阅读(4) 评论(0) 推荐(0) 编辑
摘要: List<int[]>示例:https://blog.csdn.net/Awt_FuDongLai/article/details/115827705 list<list<string>>:不存在? >>ArrayList<ArrayList<String>>格式转换成 二维数组?:https:// 阅读全文
posted @ 2024-01-09 14:01 XiaoNiuFeiTian 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 参考:https://www.zhihu.com/question/43501537/answer/333219449?utm_id=0 阅读全文
posted @ 2024-01-08 16:24 XiaoNiuFeiTian 阅读(198) 评论(0) 推荐(0) 编辑
摘要: 统计","在一个单元格中出现的次数: =LEN(B6)-LEN(SUBSTITUTE(B6,",","")) 参考:link 阅读全文
posted @ 2024-01-08 16:18 XiaoNiuFeiTian 阅读(23) 评论(0) 推荐(0) 编辑
摘要: unnest还是distinct? 在本文中,我们将介绍如何使用 PostgreSQL 的 array_agg 函数去除重复项。array_agg 函数允许我们将多行数据合并为一个数组,并且在此过程中会生成重复的元素。我们可以使用 DISTINCT 关键字去除重复项,也可以使用 array_to_s 阅读全文
posted @ 2024-01-08 15:41 XiaoNiuFeiTian 阅读(388) 评论(0) 推荐(0) 编辑
摘要: SUBSTRING 阅读全文
posted @ 2024-01-08 13:53 XiaoNiuFeiTian 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 在Java中,可以使用Set接口的实现类来创建一个不重复的列表。Set接口不允许重复元素,因此可以保证列表中的元素不重复。 import java.util.HashSet; import java.util.Set; public class Main { public static void m 阅读全文
posted @ 2024-01-05 10:05 XiaoNiuFeiTian 阅读(492) 评论(0) 推荐(0) 编辑
摘要: 这是一个语法错误,通常会在执行 SQL 查询时抛出异常或错误消息。 它的意思是指,对于 SELECT 语句中选定的某些列或表达式,必须在 GROUP BY 子句中显示列出这些列或表达式,或者将它们用作聚合函数(如 SUM、COUNT、AVG 等)的参数。如果这些列或表达式既没有在 GROUP BY 阅读全文
posted @ 2024-01-05 09:59 XiaoNiuFeiTian 阅读(133) 评论(0) 推荐(0) 编辑
摘要: 原因: 应为左表的一个值,对应右表中一个以上的值,sql无法分辨,只能将所有匹配上的都现实在结果中 参考:https://blog.csdn.net/lq_feixiangdelanqiu/article/details/121267346 参考2:https://blog.csdn.net/m0_ 阅读全文
posted @ 2024-01-05 09:52 XiaoNiuFeiTian 阅读(54) 评论(0) 推荐(0) 编辑
摘要: 1.使用遍历的方式查找某个元素: public static int findElement(int[] array, int target) { for (int i = 0; i < array.length; i++) { if (array[i] == target) { return i; 阅读全文
posted @ 2024-01-04 15:54 XiaoNiuFeiTian 阅读(682) 评论(0) 推荐(0) 编辑
上一页 1 ··· 80 81 82 83 84 85 86 87 88 ··· 131 下一页