PG清晰的Filter Where语句
摘要:
SELECT "HDCD_DeptType"||'-'||"HDCD_DeptName", sum("HDCD_DetailSum") FILTER (WHERE "HDCD_TypeName"='人员费用') AS 人员费用, sum("HDCD_DetailSum") FILTER (WHERE 阅读全文
posted @ 2022-07-28 15:02 USEGEAR 阅读(352) 评论(0) 推荐(0) 编辑