06 2020 档案
摘要:with recursive cte(n) as ( select 1 as n union all select n + 1 from cte where n<5 ) select n from cte ; https://www.cnblogs.com/songgj/p/10658916.htm
阅读全文
摘要:with data as ( select t1.* ,row_number() over(partition by id order by end_date desc) as rn from ( select 1 as id,20 as status,'2020-03-28' as start_d
阅读全文