姚博文 cte 公用表表达式Common Table Expression
with recursive dic as (
select a.id,a.name,a.parent_id,a.level from country a where name='internal' and level=1 and type=3
union all
select k.id,k.name,k.parent_id,k.level from country k
原创
2014-12-26 12:29:32 ·
642 阅读 ·
0 评论