摘要: 计算累计收益,fund_account, init_date, total_income 阅读全文
posted @ 2018-04-16 18:54 QualityAssurance21 阅读(826) 评论(0) 推荐(0) 编辑
摘要: 在计算收益率时候, 收益率 = 收益 / 成本 一、如果成本为0,NULL,此时无法计算收益率; 方法: 1.将成本为0的数据 运算 (case when cost =0 or cost is null then 0 else income/cost end) as yeild; 2.处理数据为NU 阅读全文
posted @ 2018-04-16 17:16 QualityAssurance21 阅读(2348) 评论(0) 推荐(0) 编辑