⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 lock_multi.result

📁 这是linux下运行的mysql软件包,可用于linux 下安装 php + mysql + apach 的网络配置
💻 RESULT
字号:
drop table if exists t1,t2;create table t1(n int);insert into t1 values (1);lock tables t1 write; update low_priority t1 set n = 4; select n from t1;unlock tables;n4drop table t1;create table t1(n int);insert into t1 values (1);lock tables t1 read; update low_priority t1 set n = 4; select n from t1;unlock tables;n1drop table t1;create table t1 (a int, b int);create table t2 (c int, d int);insert into t1 values(1,1);insert into t1 values(2,2);insert into t2 values(1,2);lock table t1 read; update t1,t2 set c=a where b=d;select c from t2;c2drop table t1;drop table t2;create table t1 (a int);create table t2 (a int);lock table t1 write, t2 write; insert t1 select * from t2;drop table t2;ERROR 42S02: Table 'test.t2' doesn't existdrop table t1;create table t1(a int);lock tables t1 write;show columns from t1;Field	Type	Null	Key	Default	Extraa	int(11)	YES		NULL	unlock tables;drop table t1;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -