create.result

来自「视频监控网络部分的协议ddns,的模块的实现代码,请大家大胆指正.」· RESULT 代码 · 共 1,266 行 · 第 1/5 页

RESULT
1,266
字号
  `i` int(11) default NULL) ENGINE=MyISAM DEFAULT CHARSET=latin1 MAX_ROWS=100alter table t1 max_rows=100000000000;show create table t1;Table	Create Tablet1	CREATE TABLE `t1` (  `i` int(11) default NULL) ENGINE=MyISAM DEFAULT CHARSET=latin1 MAX_ROWS=4294967295drop table t1;create table t1 select * from t2;ERROR 42S02: Table 'test.t2' doesn't existcreate table t1 select * from t1;ERROR HY000: You can't specify target table 't1' for update in FROM clausecreate table t1 select coalesce('a' collate latin1_swedish_ci,'b' collate latin1_bin);ERROR HY000: Illegal mix of collations (latin1_swedish_ci,EXPLICIT) and (latin1_bin,EXPLICIT) for operation 'coalesce'create table t1 (primary key(a)) select "b" as b;ERROR 42000: Key column 'a' doesn't exist in tablecreate table t1 (a int);create table if not exists t1 select 1 as a, 2 as b;ERROR 21S01: Column count doesn't match value count at row 1drop table t1;create table t1 (primary key (a)) (select 1 as a) union all (select 1 as a);ERROR 23000: Duplicate entry '1' for key 1create table t1 (i int);create table t1 select 1 as i;ERROR 42S01: Table 't1' already existscreate table if not exists t1 select 1 as i;Warnings:Note	1050	Table 't1' already existsselect * from t1;i1create table t1 select coalesce('a' collate latin1_swedish_ci,'b' collate latin1_bin);ERROR HY000: Illegal mix of collations (latin1_swedish_ci,EXPLICIT) and (latin1_bin,EXPLICIT) for operation 'coalesce'select * from t1;i1alter table t1 add primary key (i);create table if not exists t1 (select 2 as i) union all (select 2 as i);ERROR 23000: Duplicate entry '2' for key 1select * from t1;i12drop table t1;create temporary table t1 (j int);create table if not exists t1 select 1;Warnings:Note	1050	Table 't1' already existsselect * from t1;j1drop temporary table t1;select * from t1;ERROR 42S02: Table 'test.t1' doesn't existdrop table t1;ERROR 42S02: Unknown table 't1'create table t1 (i int);insert into t1 values (1), (2);lock tables t1 read;create table t2 select * from t1;ERROR HY000: Table 't2' was not locked with LOCK TABLEScreate table if not exists t2 select * from t1;ERROR HY000: Table 't2' was not locked with LOCK TABLESunlock tables;create table t2 (j int);lock tables t1 read;create table t2 select * from t1;ERROR HY000: Table 't2' was not locked with LOCK TABLEScreate table if not exists t2 select * from t1;ERROR HY000: Table 't2' was not locked with LOCK TABLESunlock tables;lock table t1 read, t2 read;create table t2 select * from t1;ERROR HY000: Table 't2' was locked with a READ lock and can't be updatedcreate table if not exists t2 select * from t1;ERROR HY000: Table 't2' was locked with a READ lock and can't be updatedunlock tables;lock table t1 read, t2 write;create table t2 select * from t1;ERROR 42S01: Table 't2' already existscreate table if not exists t2 select * from t1;Warnings:Note	1050	Table 't2' already existsselect * from t1;i12unlock tables;drop table t2;lock tables t1 read;create temporary table t2 select * from t1;create temporary table if not exists t2 select * from t1;Warnings:Note	1050	Table 't2' already existsselect * from t2;i1212unlock tables;drop table t1, t2;create table t1 (upgrade int);drop table t1;create table t1 (c1 int, c2 int, c3 int, c4 int, c5 int, c6 int, c7 int, c8 int,c9 int, c10 int, c11 int, c12 int, c13 int, c14 int, c15 int, c16 int,key a001_long_123456789_123456789_123456789_123456789_123456789_1234 (c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),key a002_long_123456789_123456789_123456789_123456789_123456789_1234 (c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),key a003_long_123456789_123456789_123456789_123456789_123456789_1234 (c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),key a004_long_123456789_123456789_123456789_123456789_123456789_1234 (c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),key a005_long_123456789_123456789_123456789_123456789_123456789_1234 (c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),key a006_long_123456789_123456789_123456789_123456789_123456789_1234 (c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),key a007_long_123456789_123456789_123456789_123456789_123456789_1234 (c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),key a008_long_123456789_123456789_123456789_123456789_123456789_1234 (c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),key a009_long_123456789_123456789_123456789_123456789_123456789_1234 (c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),key a010_long_123456789_123456789_123456789_123456789_123456789_1234 (c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),key a011_long_123456789_123456789_123456789_123456789_123456789_1234 (c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),key a012_long_123456789_123456789_123456789_123456789_123456789_1234 (c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),key a013_long_123456789_123456789_123456789_123456789_123456789_1234 (c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),key a014_long_123456789_123456789_123456789_123456789_123456789_1234 (c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),key a015_long_123456789_123456789_123456789_123456789_123456789_1234 (c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),key a016_long_123456789_123456789_123456789_123456789_123456789_1234 (c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),key a017_long_123456789_123456789_123456789_123456789_123456789_1234 (c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),key a018_long_123456789_123456789_123456789_123456789_123456789_1234 (c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),key a019_long_123456789_123456789_123456789_123456789_123456789_1234 (c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),key a020_long_123456789_123456789_123456789_123456789_123456789_1234 (c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),key a021_long_123456789_123456789_123456789_123456789_123456789_1234 (c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),key a022_long_123456789_123456789_123456789_123456789_123456789_1234 (c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),key a023_long_123456789_123456789_123456789_123456789_123456789_1234 (c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),key a024_long_123456789_123456789_123456789_123456789_123456789_1234 (c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),key a025_long_123456789_123456789_123456789_123456789_123456789_1234 (c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),key a026_long_123456789_123456789_123456789_123456789_123456789_1234 (c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),key a027_long_123456789_123456789_123456789_123456789_123456789_1234 (c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),key a028_long_123456789_123456789_123456789_123456789_123456789_1234 (c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),key a029_long_123456789_123456789_123456789_123456789_123456789_1234 (c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),key a030_long_123456789_123456789_123456789_123456789_123456789_1234 (c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),key a031_long_123456789_123456789_123456789_123456789_123456789_1234 (c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),key a032_long_123456789_123456789_123456789_123456789_123456789_1234 (c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),key a033_long_123456789_123456789_123456789_123456789_123456789_1234 (c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),key a034_long_123456789_123456789_123456789_123456789_123456789_1234 (c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),key a035_long_123456789_123456789_123456789_123456789_123456789_1234 (c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),key a036_long_123456789_123456789_123456789_123456789_123456789_1234 (c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),key a037_long_123456789_123456789_123456789_123456789_123456789_1234 (c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),key a038_long_123456789_123456789_123456789_123456789_123456789_1234 (c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),key a039_long_123456789_123456789_123456789_123456789_123456789_1234 (c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),key a040_long_123456789_123456789_123456789_123456789_123456789_1234 (c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),key a041_long_123456789_123456789_123456789_123456789_123456789_1234 (c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),key a042_long_123456789_123456789_123456789_123456789_123456789_1234 (c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),key a043_long_123456789_123456789_123456789_123456789_123456789_1234 (c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),key a044_long_123456789_123456789_123456789_123456789_123456789_1234 (c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),key a045_long_123456789_123456789_123456789_123456789_123456789_1234 (c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),key a046_long_123456789_123456789_123456789_123456789_123456789_1234 (c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),key a047_long_123456789_123456789_123456789_123456789_123456789_1234 (c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),key a048_long_123456789_123456789_123456789_123456789_123456789_1234 (c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),key a049_long_123456789_123456789_123456789_123456789_123456789_1234 (c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),key a050_long_123456789_123456789_123456789_123456789_123456789_1234 (c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),key a051_long_123456789_123456789_123456789_123456789_123456789_1234 (c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),key a052_long_123456789_123456789_123456789_123456789_123456789_1234 (c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),key a053_long_123456789_123456789_123456789_123456789_123456789_1234 (c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),key a054_long_123456789_123456789_123456789_123456789_123456789_1234 (c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),key a055_long_123456789_123456789_123456789_123456789_123456789_1234 (c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),key a056_long_123456789_123456789_123456789_123456789_123456789_1234 (c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),key a057_long_123456789_123456789_123456789_123456789_123456789_1234 (c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),key a058_long_123456789_123456789_123456789_123456789_123456789_1234 (c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),key a059_long_123456789_123456789_123456789_123456789_123456789_1234 (c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),key a060_long_123456789_123456789_123456789_123456789_123456789_1234 (c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),key a061_long_123456789_123456789_123456789_123456789_123456789_1234 (c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),key a062_long_123456789_123456789_123456789_123456789_123456789_1234 (c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),key a063_long_123456789_123456789_123456789_123456789_123456789_1234 (c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),key a064_long_123456789_123456789_123456789_123456789_123456789_1234 (c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16));show create table t1;Table	Create Tablet1	CREATE TABLE `t1` (  `c1` int(11) default NULL,  `c2` int(11) default NULL,  `c3` int(11) default NULL,  `c4` int(11) default NULL,  `c5` int(11) default NULL,  `c6` int(11) default NULL,  `c7` int(11) default NULL,  `c8` int(11) default NULL,  `c9` int(11) default NULL,  `c10` int(11) default NULL,  `c11` int(11) default NULL,  `c12` int(11) default NULL,  `c13` int(11) default NULL,  `c14` int(11) default NULL,

⌨️ 快捷键说明

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