sql递归查询所有子集
select * from bg_organization
?
with a as(select * from bg_organization where orgid=1union allselect x.* from bg_organization x,awhere x.pid=a.orgid)select * from a