VALUES(col_name) : VALUES : Miscellaneous Functions MySQL TUTORIALS


MySQL TUTORIALS » Miscellaneous Functions » VALUES »

 

VALUES(col_name)


VALUES(col_name) in the UPDATE clause refers to the value of col_name that would be inserted.

INSERT INTO table (a,b,cVALUES (1,2,3),(4,5,6)
ON DUPLICATE KEY UPDATE c=VALUES(a)+VALUES(b);



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .

Follow Navioo On Twitter

MySQL TUTORIALS

 Navioo Miscellaneous Functions
» VALUES