摘要: 转: pg数据库多表查询(inner)和级联查询 要查出cid为1的所有的子级、包括cid为2、3、5的子级的集合。执行以下sql语句with recursive tb as(select * from t_c where parent_id='1' union all select t_c.* f 阅读全文
posted @ 2022-04-01 17:16 戈博折刀 阅读(637) 评论(0) 推荐(0) 编辑