COUNT(CASE WHEN (S.rank = 1) THEN S.loanContractId END ) AS 'MZ', //根据loanContractId 分组,并统计rank=1出现的次数
posted on 2016-08-22 18:27 静以修身! 阅读(9747) 评论(0) 编辑 收藏 举报