您好,欢迎来到三六零分类信息网!老站,搜索引擎当天收录,欢迎发信息

统计百分比

2024/3/26 4:01:37发布15次查看
无详细内容 无 selectmerid,vendername,shoppingmonth,totalordernumber,successordernumber,totalpayamount,successtotalpayamount, case totalordernumber when 0 then '0%' else convert(varchar,convert(decimal(10,2),convert(decimal(16,2), successord
select merid, vendername, shoppingmonth, totalordernumber, successordernumber, totalpayamount, successtotalpayamount, case totalordernumber when 0 then '0%' else convert(varchar,convert(decimal(10,2),convert(decimal(16,2), successordernumber)*1.0/convert(decimal(16,2), totalordernumber)*100 ))+'%' end as successratefrom vender vleft join gnete_mer_stat_months s on v.venderid = s.meridwhere shoppingmonth between 201403and 201406and v.deleted = 0group by merid, vendername, shoppingmonth, totalordernumber, successordernumber, totalpayamount, successtotalpayamountorder by merid asc, shoppingmonth asc
该用户其它信息

VIP推荐

免费发布信息,免费发布B2B信息网站平台 - 三六零分类信息网 沪ICP备09012988号-2
企业名录 Product