题解 | #查询用户刷题日期和下一次刷题日期#
查询用户刷题日期和下一次刷题日期
https://www.nowcoder.com/practice/fed7ebf4254240fdb6a2c963996ee8ff
select user_id, date , lead(date, 1, 'None') over(partition by user_id order by date) as nextdate from questions_pass_record
查询用户刷题日期和下一次刷题日期
https://www.nowcoder.com/practice/fed7ebf4254240fdb6a2c963996ee8ff
select user_id, date , lead(date, 1, 'None') over(partition by user_id order by date) as nextdate from questions_pass_record
相关推荐