高并发--三种行锁(学习笔记)

-----行锁 select 须要的参数 from 表名 where 表参数 = ‘表数据’ for update;web ----页锁 select 须要的参数 from 表名 where code in( ‘表数据1’ , ’表数据2’ ) for update;svg ----表锁 select 须要的参数 from 表名 for update;code
相关文章
相关标签/搜索