LeetCode180——连续出现的数字

我的LeetCode代码仓:https://github.com/617076674/LeetCode 原题链接:https://leetcode-cn.com/problems/consecutive-numbers/description/ 题目描述: 知识点:多表联查 思路:三表联查 由于使用交叉连接查询,返回的是笛卡尔积形式,会返回3个一样的满足条件的数据,我们需要用DISTINCT关键字
相关文章
相关标签/搜索