You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
INSERT INTO t1 (a,b,c) VALUES (1,2,3),(4,5,6) AS new ON DUPLICATE KEY UPDATE c =new.a+new.b;
INSERT INTO t1 (a,b,c) VALUES (1,2,3),(4,5,6) AS new(m,n,p) ON DUPLICATE KEY UPDATE c = m+n;
INSERT INTO t1 SET a=1,b=2,c=3AS new ON DUPLICATE KEY UPDATE c =new.a+new.b;
INSERT INTO t1 SET a=1,b=2,c=3AS new(m,n,p) ON DUPLICATE KEY UPDATE c = m+n;
We currently do not support the AS new portion, which are the aliases.
Given the following example queries:
We currently do not support the
AS new
portion, which are the aliases.Reference:
https://dev.mysql.com/doc/refman/8.0/en/insert-on-duplicate.html
The text was updated successfully, but these errors were encountered: