By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
4 rows affected
Msg 4405 Level 16 State 1 Line 1
View or function 'cte' is not updatable because the modification affects multiple base tables.
id | a |
---|---|
1 | a |
2 | b |
id | a |
---|---|
1 | x |
2 | y |