安哥拉兔很想回家
安哥拉兔很想回家
全部文章
分类
题解(2)
归档
标签
去牛客网
登录
/
注册
安哥拉兔很想回家的博客
全部文章
(共2篇)
题解 | #某店铺的各商品毛利率及店铺整体毛利率#
临时表t 用于记录所有售出商品进价、销售价、数量、状态 再用店铺利润 union 商品利润 with t as( select t1.*, t3.in_price from tb_order_detail t1 left join tb_order_overall t2 on...
Mysql
2022-01-29
7
539
题解 | #2021年11月每天新用户的次日留存率#
select t1.sign_in_date,round(sum(if(t2.dt is not null,1,0))/count(1),2) from( select uid,min(date(in_time)) sign_in_date from tb_user_log ...
Mysql
2022-01-25
0
315