摘要: WITH cum AS ( SELECT order_num, code, username, date_trunc('day', create_date) AS create_day, qty, -- 历史累计 qty SUM(qty) OVER ( PARTITION BY order_num, 阅读全文
posted @ 2025-07-01 00:08 jacob_yu 阅读(25) 评论(0) 推荐(0)