我想求cf_status='ok'的行所占比例,"SELECT (SELECT COUNT(*) FROM bhs_data WHERE cf_status='ok' AND cf_supplier_id=b.cf_supplier_id) / COUNT(*) FROM bhs_data AS b GROUP BY cf_supplier_id",spark报错

已邀请:

要回复问题请先登录注册