摘要: 业务:查询订单数量和订单总金额 根据国家分组当然还有别的条件,这里不全写了select count(DISTINCT t.customer_id) as customerNum, 去重统计一个国家的下单客户数 sum(t.total_amount) as saleAmount, 统计一个国家的销售金 阅读全文
posted @ 2022-01-19 15:35 了悟 阅读(154) 评论(0) 推荐(0) 编辑