使用sql语句查询出来一级分类下的二级分类和三级分类并生成execl

2025-03-23 12:46:32
推荐回答(2个)
回答(1):

select * from a,b,c where a.xx=b.xx and c.oo = b.oo
或者 select * from a,b,c where a.xx in(select b.xx form b where b.oo in(...同理省略...))
由于你就截个图,只能帮你到这里了

回答(2):

啥意思,你的表格是你所要的结果?你的原始数据呢?