您好,欢迎来到三六零分类信息网!老站,搜索引擎当天收录,欢迎发信息

mysql-MYSQL INNODB表锁和行锁的问题

2025/6/28 13:01:21发布24次查看
mysql锁innodb
id是主键。以下语句分别是行锁还是表锁?
第一句:update table set x=1 where id in (1,2,4,7);
第二句:update table set x=1 where id between 1 and 10;
第三句:update table set x=1 where id>=1 and id
该用户其它信息

VIP推荐

免费发布信息,免费发布B2B信息网站平台 - 三六零分类信息网 沪ICP备09012988号-2
企业名录 Product