select * INTO temp_city from Class_City where Father_Id=103 or
father_id in ((select City_Id from Class_City where Father_Id=103))
用的是select into 子句
本文介绍了一个使用SQL的select into子句结合子查询的具体案例,展示了如何从父ID为103的城市及其子城市中选择数据。
select * INTO temp_city from Class_City where Father_Id=103 or
father_id in ((select City_Id from Class_City where Father_Id=103))

被折叠的 条评论
为什么被折叠?