题解 | 评估2023年不同品牌商品的销售趋势和客户满意度

评估2023年不同品牌商品的销售趋势和客户满意度

https://www.nowcoder.com/practice/a32c7ff803054a919e2b65334463002f

select
    brand_id
    ,sum(sales_amount) total_sales_amount
    ,sum(sales_quantity) total_sales_quantity
    ,round(avg(satisfaction_score), 2) avg_satisfaction_score
from sales_data sf
join customer_feedback cf on sf.sales_id = cf.sales_id
where substring(sales_month,1,4) = '2023'
group by 1
order by 1

全部评论

相关推荐

07-23 14:04
东北大学 C++
既然这样,为什么不点击就送呢
牛马88号:因为你合适。但有很多笔试就挂了、通过了再排序的
点赞 评论 收藏
分享
不愿透露姓名的神秘牛友
07-24 18:34
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

更多
牛客网
牛客网在线编程
牛客网题解
牛客企业服务