LOCK TABLES table1 READ LOCAL, table2 AS `t2` WRITE;