摘要: 1.分组后查询前几列数据 row_number() over (partition by p_day,uid order by time asc) num num = 1 取第一个,num<=10取分区后前十个 2.lag/lead 某一行前/后附近一行的数据 lag(url,1,2001) ove 阅读全文
posted @ 2018-12-17 17:28 haoziii 阅读(146) 评论(0) 推荐(0) 编辑