offer你是不是迷路了:上海好像已经没有hc了,官网招聘都撤了。我之前投的北京,二面挂了之后转到上海……不晓得这是啥操作
投递字节跳动等公司9个岗位 >
0 点赞 评论 收藏
分享
努力写论文呀:select
concat('layer', c.rk) as layer,
count(c.rk) as count
from
(select
b.mall_id,
case
when b.t2/b.t1 >= 0 and b.t2/b.t1 <= 0.1 then '1'
when b.t2/b.t1 > 0.1 and b.t2/b.t1 <= 0.2 then '2'
when b.t2/b.t1 > 0.2 and b.t2/b.t1 <= 0.3 then '3'
when b.t2/b.t1 > 0.3 and b.t2/b.t1 <= 0.4 then '4'
when b.t2/b.t1 > 0.4 and b.t2/b.t1 <= 0.5 then '5'
when b.t2/b.t1 > 0.5 and b.t2/b.t1 <= 0.6 then '6'
when b.t2/b.t1 > 0.6 and b.t2/b.t1 <= 0.7 then '7'
when b.t2/b.t1 > 0.7 and b.t2/b.t1 <= 0.8 then '8'
when b.t2/b.t1 > 0.8 and b.t2/b.t1 <= 0.9 then '9'
else '10'
end as rk
from
(select
a.mall_id,
sum(a.total_gmv) as t1,
sum(a.total_gmv) over(order by a.total_gmv desc) as t2
from
(select
mall_id,
sum(gmv) as total_gmv
from mall_gmv
group by mall_id) a) b) c
group by c.rk
order by layer;
同2楼的思路,内部排序还是gmv降序,感觉题目表述不清,和小红书那个差不多
投递拼多多集团-PDD等公司9个岗位 >
0 点赞 评论 收藏
分享
创作者周榜
更多
关注他的用户也关注了: