SELECT party_id, order_status, shipping_status, if(reserved_time>0, 'Y', 'N') as reserved_status, count(*)
from ecshop.ecs_order_info
GROUP BY party_id, order_status, shipping_status, reserved_status with ROLLUP
ElaineWang 博主文章分类:数据库 ©著作权
SELECT party_id, order_status, shipping_status, if(reserved_time>0, 'Y', 'N') as reserved_status, count(*)
from ecshop.ecs_order_info
GROUP BY party_id, order_status, shipping_status, reserved_status with ROLLUP
rollup打包一个npm包的例子。
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M