The CTE goes inside the view. Take a query with a CTE WITH cte AS (...) SELECT ...;. Just add CREATE VIEW AS .. GO CREATE VIEW AS WITH cte ...
確定! 回上一頁