- 博客(2)
- 资源 (1)
- 收藏
- 关注
原创 报表导出sql
用了毕生所学,写出来的sql,记录一下,留作纪念 SELECT ( select string_agg(unit_name, '-->') as unit_chain from ( with recursive cte (id,unit_name) as ( select *, 1 as depath from t_unit where id = (select u...
2019-06-21 16:56:29 359
原创 报表导出sql
用了毕生所学,写出来的sql,记录一下,留作纪念 SELECT ( select string_agg(unit_name, '-->') as unit_chain from ( with recursive cte (id,unit_name) as ( select *, 1 as depath from t_unit where id = (select u...
2019-06-21 16:56:29 309
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人