mysql 一条语句完成插入或更新
#插入或更新,依据唯一建判断INSERT INTO u_userinfo (memberid,nickname,userpicurl,sex) VALUES (1010,'楚留香62','http://111',0) ON DUPLICATE KEY UPDATE nickname ='楚留香62',userpicurl='http://111111',sex=0;字段中需要有唯一建...