select * from test1where id=1 for update怎么实现,求解
来自炫酷的 NutzCN
自定义SQL
INSERT INTO user VALUES(id, name, 1) ON DUPLICATE KEY UPDATE num=num+1;