![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
sql
Calvin_lii
Python 初学者
展开
-
SQL 入门
网站: Learn SQL the hard Way Learn Python the Hard Way SQLZOO SQLZOO 书籍: SQL必知必会原创 2022-02-10 15:15:27 · 539 阅读 · 0 评论 -
sql技巧
近7日,日均数据 SELECT trd.log_date ,AVG(cnt_user_trade) over(order by trd.log_date rows BETWEEN 6 preceding AND current row ) AS cnt_user_trade_avgd7 -- 交易人数_近7日日均 FROM ( SELECT t.log_date amt_fee_usdt amt_fee_usdt_retail原创 2022-02-08 10:03:04 · 526 阅读 · 0 评论