Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

mysql on duplicate key update

UPDATE t1 SET c=c+1 WHERE a=1 OR b=2 LIMIT 1;
Source by dev.mysql.com #
 
PREVIOUS NEXT
Tagged: #mysql #duplicate #key #update
ADD COMMENT
Topic
Name
3+3 =