0
有人可以告訴我我在做什麼錯在這裏,我在附近得到不正確的語法。聲明有什麼錯誤?不能找到語法錯誤
INSERT INTO dbo.a1
select x1 as id, x2 as enc_id, x3 as dev,x4 as mang, x4 as sre, x5 as phase,x6, x7, x8
from
(select *,
row_number() over(partition by x2 order by x8) as rank
from ccsm.n9 where xx=1 and xx_pat=1 and xx_encz='Tesz')
where rank=1;
我正在azure數據倉庫中運行這個 –
讓我們知道這個答案對您有幫助。 –
你能否提供一些我可以使用別名和派生表概念學習的文檔。 –