共享鎖:select * from tableName where id = 100 lock in share more 排它鎖:select * from tableName where id = 100 for update