摘要: 将两个表相关联,然后将相同类别进行分组,分组之后再进行聚合,聚合中完成运算 # Write your MySQL query statement below select distinct w.name as `WAREHOUSE_NAME`, sum(t.v*w.units) as `VOLUME 阅读全文
posted @ 2022-05-07 14:13 Lazy_tiger 阅读(22) 评论(0) 推荐(0) 编辑
摘要: 截取,然后覆盖。但是重新赋值相加的时候后面结果为0 class Solution: def merge(self, nums1: List[int], m: int, nums2: List[int], n: int) -> None: """ Do not return anything, mod 阅读全文
posted @ 2022-05-07 11:34 Lazy_tiger 阅读(13) 评论(0) 推荐(0) 编辑
摘要: 求两个数字之和等于target class Solution: def twoSum(self, nums: List[int], target: int) -> List[int]: result = list() for i in range(len(nums)): for j in range 阅读全文
posted @ 2022-05-07 10:46 Lazy_tiger 阅读(23) 评论(0) 推荐(0) 编辑