摘要: 197. 上升的温度 LeetCode_MySql_197 题目描述 代码实现 # Write your MySQL query statement below select we1.id Id from Weather we1, Weather we2 where datediff(we1.rec 阅读全文
posted @ 2021-03-06 22:45 Garrett_Wale 阅读(49) 评论(0) 推荐(0) 编辑
摘要: 415. 字符串相加 LeetCode_415 题目详情 方法一:使用暴力法 class Solution { public String addStrings(String num1, String num2) { int len1 = num1.length(); int len2 = num2 阅读全文
posted @ 2021-03-06 21:44 Garrett_Wale 阅读(95) 评论(0) 推荐(0) 编辑
摘要: 196. 删除重复的电子邮箱 LeetCode_MySql_196 题目描述 实现代码 # Write your MySQL query statement below # 需要找到两张表中,其他记录中具有相同邮件地址但是id更大的记录,将其删除即可 delete p1 from Person p1 阅读全文
posted @ 2021-03-06 21:22 Garrett_Wale 阅读(146) 评论(0) 推荐(0) 编辑