题解 | 分析不同门店各类商品的库存情况和销售情况

分析不同门店各类商品的库存情况和销售情况

https://www.nowcoder.com/practice/5b9262a36724466ea1ae1f58187197d6

select i.store_id,store_name,product_category,inventory_quantity, sales_amount
from  sales_inventory i
join stores s on s.store_id=i.store_id
join products p on p.product_id=i.product_id
where  inventory_quantity < 10 and sales_amount > 5000
order by i.store_id,i.product_id;

全部评论

相关推荐

12-01 18:27
已编辑
湖南科技大学 后端工程师
点赞 评论 收藏
分享
牛客nb666号:见天才的门槛罢了查看图片
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

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