cantin
cantin
全部文章
分类
题解(3)
归档
标签
去牛客网
登录
/
注册
cantin的博客
全部文章
(共26篇)
题解 | 哪些产品在特定时间段内表现最为出色
select t.product_id, p.product_name, total_sales_amount, total_sales_quantity from ( select p.product_id, ...
2025-10-03
0
44
题解 | 对商品的销售情况进行深度分析
with temp0 as ( select category as product_category, age_group, sum(price * quantity) as total_sales_a...
2025-10-03
0
39
题解 | 电商平台想要了解不同商品在不同月份的销售趋势
select t.product_id, product_name, total_sales, max_monthly_sales, min_monthly_sales, avg_monthly_sales from ( sel...
2025-10-03
0
31
题解 | 最受欢迎的top3课程
select ci.cid, count(*) as pv, sum(timestampdiff(MINUTE, start_time, end_time)) as time_len from course_info_tb ci inner join play...
2025-10-03
0
39
题解 | 分析每个员工在不同项目中的绩效情况
select e.employee_id, employee_name, performance_score as first_half_2024_score, row_number()over( partition by pf.project_id...
2025-09-30
0
33
题解 | 查询出每个运输方式在不同城市的平均运输时长以及总运输费用
select destination_city, transport_name, round(sum(timestampdiff(day,order_date,delivery_date))/count(*),2) as average_transport_duratio...
2025-09-30
0
38
首页
上一页
1
2
3
下一页
末页