How can I use the “with” command correctly in sqlserver?

后端 未结 0 2011
日久生厌
日久生厌 2021-02-01 14:13

I have a query and it works, by which I get the category subsets.

with cte as 
(Select nid 
from TB_Category 
where nid= 429 union
ALL select ca.nid 
from cte ct          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题