07 2024 档案
摘要:1193. 每月交易 I - 力扣(LeetCode) select DATE_FORMAT(trans_date, '%Y-%m') AS month, country, count(1) as trans_count, COUNT(IF(state = 'approved', 1, NULL))
阅读全文
摘要:flatmap 的使用 处理嵌套,一般是二维数组(集合) import java.util.*; import java.util.stream.*; class Book { private List<Chapter> chapters; public Book(List<Chapter> cha
阅读全文
摘要:570. 至少有5名直接下属的经理 - 力扣(LeetCode) select Employee.Name as Name from ( select ManagerId as Id from Employee group by ManagerId having count(Id) >= 5 ) a
阅读全文