Tendernessnick
Tendernessnick
全部文章
分类
归档
标签
去牛客网
登录
/
注册
Tendernessnick的博客
全部文章
(共114篇)
题解 | 查询出每个品牌在特定时间段内的退货率以及平均客户满意度评分
# 按照品牌分组,查询每个品牌在24年7月的退货率、平均客户满意度评分 with t1 as( select brand_id, brand_name, return_status as rs, customer_satisfa...
2025-11-25
0
9
题解 | 分析每个员工在不同项目中的绩效情况
# 查询每个员工的绩效 # 项目ID,绩效排名,员工ID with t1 as( select employee_id, employee_name, performance_score as first_half_2024_score, ...
2025-11-25
0
9
题解 | 查询出不同类别商品中,销售金额排名前三且利润率超过 20%的商品信息
# 查询不同类别中销售金额排名前三、利润率大于20的商品 with t1 as( select product_id, product_name, category_id, rank()over(partition by cat...
2025-11-21
0
17
题解 | 分析每个商品在不同时间段的销售情况
# 查询q2的销售额,在类别中的排名,供应商名称 with t1 as( select order_id, product_id, order_date, ( case w...
2025-11-21
0
20
题解 | 电商平台想要了解不同商品在不同月份的销售趋势
# 查询商品在24年上半年的总销量、销量最高月份的销售量、销量最低月份的销售量、平均月销售量 with t1 as( select product_id, product_name, sale_month, sum(quant...
2025-11-21
0
14
题解 | 电商平台需要对商家的销售业绩、退款情况和客户满意度进行综合评估
with t1 as( select merchant_id, merchant_name, round(sum(sale_amount)/2,2) as total_sales_amount, round(sum(refund...
2025-11-20
0
26
题解 | 对商品的销售情况进行深度分析
# 每个商品 不同年龄 性别 销售总额 不同年龄群体比例 with t1 as( select customer_id, product_name, category, quantity, price, ...
2025-11-20
0
26
题解 | 最受欢迎的top3课程
with t1 as( select cid, count(cid) as pv, sum(timestampdiff(minute,start_time,end_time)) as time_len from play...
2025-11-20
0
21
题解 | 更新员工信息表
WITH T1 AS( SELECT EMPLOYEE_ID, UPDATE_DT, NEW_POSITION, RANK()OVER(PARTITION BY EMPLOYEE_ID ORDER BY UPDATE_DT DE...
2025-11-20
0
17
题解 | 未下单用户登陆渠道统计
with t1 as( select uid, channel from user_info left join order_log using(uid) where order_id is null ) se...
2025-11-20
0
15
首页
上一页
1
2
3
4
5
6
7
8
9
10
下一页
末页