0
什麼在世界上可能是錯誤的,語法看起來很好:無效語法CTE
With photos(PhotoID, MemberID) as
(
select photoID,
memberID
from MemberPhotos
)
select PhotoID, MemberID from photos
什麼在世界上可能是錯誤的,語法看起來很好:無效語法CTE
With photos(PhotoID, MemberID) as
(
select photoID,
memberID
from MemberPhotos
)
select PhotoID, MemberID from photos
如果CTE
從另一個查詢如下,你應該WITH
關鍵字前加上一個semi-colon
。
;With photos(PhotoID, MemberID) as
(
select photoID,
memberID
from MemberPhotos
)
select PhotoID, MemberID from photos
什麼是錯誤?哪一行是錯誤? –