select * from BBS_Type order by case when parentID=0 then TypeID else parentID end,TypeID
数据库二级查询
最新推荐文章于 2022-11-18 14:23:13 发布
select * from BBS_Type order by case when parentID=0 then TypeID else parentID end,TypeID