DROP TABLE IF EXISTS t5; CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 CHAR(10) NULL, c3 CHAR(20) NULL); SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` char(10) DEFAULT NULL, `c3` char(20) DEFAULT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ALTER TABLE t5 ADD c4 CHAR(20) NULL AFTER c2; SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` char(10) DEFAULT NULL, `c4` char(20) DEFAULT NULL, `c3` char(20) DEFAULT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci DROP TABLE t5; SHOW TABLES; Tables_in_test CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 VARCHAR(10) NULL, c3 VARCHAR(20) NULL); SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` varchar(10) DEFAULT NULL, `c3` varchar(20) DEFAULT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ALTER TABLE t5 ADD c4 CHAR(20) NULL AFTER c2; SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` varchar(10) DEFAULT NULL, `c4` char(20) DEFAULT NULL, `c3` varchar(20) DEFAULT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci DROP TABLE t5; SHOW TABLES; Tables_in_test CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 BINARY(10) NULL, c3 BINARY(20) NULL); SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` binary(10) DEFAULT NULL, `c3` binary(20) DEFAULT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ALTER TABLE t5 ADD c4 CHAR(20) NULL AFTER c2; SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` binary(10) DEFAULT NULL, `c4` char(20) DEFAULT NULL, `c3` binary(20) DEFAULT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci DROP TABLE t5; SHOW TABLES; Tables_in_test CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 VARBINARY(10) NULL, c3 VARBINARY(20) NULL); SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` varbinary(10) DEFAULT NULL, `c3` varbinary(20) DEFAULT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ALTER TABLE t5 ADD c4 CHAR(20) NULL AFTER c2; SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` varbinary(10) DEFAULT NULL, `c4` char(20) DEFAULT NULL, `c3` varbinary(20) DEFAULT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci DROP TABLE t5; SHOW TABLES; Tables_in_test CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 CHAR(10) NOT NULL, c3 CHAR(20) NOT NULL); SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` char(10) NOT NULL, `c3` char(20) NOT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ALTER TABLE t5 ADD c4 CHAR(20) NOT NULL AFTER c2; SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` char(10) NOT NULL, `c4` char(20) NOT NULL, `c3` char(20) NOT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci DROP TABLE t5; SHOW TABLES; Tables_in_test CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 VARCHAR(10) NOT NULL, c3 VARCHAR(20) NOT NULL); SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` varchar(10) NOT NULL, `c3` varchar(20) NOT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ALTER TABLE t5 ADD c4 CHAR(20) NOT NULL AFTER c2; SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` varchar(10) NOT NULL, `c4` char(20) NOT NULL, `c3` varchar(20) NOT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci DROP TABLE t5; SHOW TABLES; Tables_in_test CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 BINARY(10) NOT NULL, c3 BINARY(20) NOT NULL); SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` binary(10) NOT NULL, `c3` binary(20) NOT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ALTER TABLE t5 ADD c4 CHAR(20) NOT NULL AFTER c2; SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` binary(10) NOT NULL, `c4` char(20) NOT NULL, `c3` binary(20) NOT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci DROP TABLE t5; SHOW TABLES; Tables_in_test CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 VARBINARY(10) NOT NULL, c3 VARBINARY(20) NOT NULL); SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` varbinary(10) NOT NULL, `c3` varbinary(20) NOT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ALTER TABLE t5 ADD c4 CHAR(20) NOT NULL AFTER c2; SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` varbinary(10) NOT NULL, `c4` char(20) NOT NULL, `c3` varbinary(20) NOT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci DROP TABLE t5; SHOW TABLES; Tables_in_test CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 CHAR(10) NULL, c3 CHAR(20) NULL); SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` char(10) DEFAULT NULL, `c3` char(20) DEFAULT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ALTER TABLE t5 ADD c4 VARCHAR(20) NULL AFTER c2; SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` char(10) DEFAULT NULL, `c4` varchar(20) DEFAULT NULL, `c3` char(20) DEFAULT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci DROP TABLE t5; SHOW TABLES; Tables_in_test CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 VARCHAR(10) NULL, c3 VARCHAR(20) NULL); SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` varchar(10) DEFAULT NULL, `c3` varchar(20) DEFAULT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ALTER TABLE t5 ADD c4 VARCHAR(20) NULL AFTER c2; SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` varchar(10) DEFAULT NULL, `c4` varchar(20) DEFAULT NULL, `c3` varchar(20) DEFAULT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci DROP TABLE t5; SHOW TABLES; Tables_in_test CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 BINARY(10) NULL, c3 BINARY(20) NULL); SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` binary(10) DEFAULT NULL, `c3` binary(20) DEFAULT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ALTER TABLE t5 ADD c4 VARCHAR(20) NULL AFTER c2; SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` binary(10) DEFAULT NULL, `c4` varchar(20) DEFAULT NULL, `c3` binary(20) DEFAULT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci DROP TABLE t5; SHOW TABLES; Tables_in_test CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 VARBINARY(10) NULL, c3 VARBINARY(20) NULL); SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` varbinary(10) DEFAULT NULL, `c3` varbinary(20) DEFAULT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ALTER TABLE t5 ADD c4 VARCHAR(20) NULL AFTER c2; SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` varbinary(10) DEFAULT NULL, `c4` varchar(20) DEFAULT NULL, `c3` varbinary(20) DEFAULT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci DROP TABLE t5; SHOW TABLES; Tables_in_test CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 CHAR(10) NOT NULL, c3 CHAR(20) NOT NULL); SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` char(10) NOT NULL, `c3` char(20) NOT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ALTER TABLE t5 ADD c4 VARCHAR(20) NOT NULL AFTER c2; SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` char(10) NOT NULL, `c4` varchar(20) NOT NULL, `c3` char(20) NOT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci DROP TABLE t5; SHOW TABLES; Tables_in_test CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 VARCHAR(10) NOT NULL, c3 VARCHAR(20) NOT NULL); SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` varchar(10) NOT NULL, `c3` varchar(20) NOT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ALTER TABLE t5 ADD c4 VARCHAR(20) NOT NULL AFTER c2; SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` varchar(10) NOT NULL, `c4` varchar(20) NOT NULL, `c3` varchar(20) NOT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci DROP TABLE t5; SHOW TABLES; Tables_in_test CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 BINARY(10) NOT NULL, c3 BINARY(20) NOT NULL); SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` binary(10) NOT NULL, `c3` binary(20) NOT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ALTER TABLE t5 ADD c4 VARCHAR(20) NOT NULL AFTER c2; SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` binary(10) NOT NULL, `c4` varchar(20) NOT NULL, `c3` binary(20) NOT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci DROP TABLE t5; SHOW TABLES; Tables_in_test CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 VARBINARY(10) NOT NULL, c3 VARBINARY(20) NOT NULL); SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` varbinary(10) NOT NULL, `c3` varbinary(20) NOT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ALTER TABLE t5 ADD c4 VARCHAR(20) NOT NULL AFTER c2; SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` varbinary(10) NOT NULL, `c4` varchar(20) NOT NULL, `c3` varbinary(20) NOT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci DROP TABLE t5; SHOW TABLES; Tables_in_test CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 CHAR(10) NULL, c3 CHAR(20) NULL); SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` char(10) DEFAULT NULL, `c3` char(20) DEFAULT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ALTER TABLE t5 ADD c4 BINARY(20) NULL AFTER c2; SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` char(10) DEFAULT NULL, `c4` binary(20) DEFAULT NULL, `c3` char(20) DEFAULT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci DROP TABLE t5; SHOW TABLES; Tables_in_test CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 VARCHAR(10) NULL, c3 VARCHAR(20) NULL); SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` varchar(10) DEFAULT NULL, `c3` varchar(20) DEFAULT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ALTER TABLE t5 ADD c4 BINARY(20) NULL AFTER c2; SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` varchar(10) DEFAULT NULL, `c4` binary(20) DEFAULT NULL, `c3` varchar(20) DEFAULT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci DROP TABLE t5; SHOW TABLES; Tables_in_test CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 BINARY(10) NULL, c3 BINARY(20) NULL); SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` binary(10) DEFAULT NULL, `c3` binary(20) DEFAULT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ALTER TABLE t5 ADD c4 BINARY(20) NULL AFTER c2; SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` binary(10) DEFAULT NULL, `c4` binary(20) DEFAULT NULL, `c3` binary(20) DEFAULT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci DROP TABLE t5; SHOW TABLES; Tables_in_test CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 VARBINARY(10) NULL, c3 VARBINARY(20) NULL); SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` varbinary(10) DEFAULT NULL, `c3` varbinary(20) DEFAULT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ALTER TABLE t5 ADD c4 BINARY(20) NULL AFTER c2; SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` varbinary(10) DEFAULT NULL, `c4` binary(20) DEFAULT NULL, `c3` varbinary(20) DEFAULT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci DROP TABLE t5; SHOW TABLES; Tables_in_test CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 CHAR(10) NOT NULL, c3 CHAR(20) NOT NULL); SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` char(10) NOT NULL, `c3` char(20) NOT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ALTER TABLE t5 ADD c4 BINARY(20) NOT NULL AFTER c2; SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` char(10) NOT NULL, `c4` binary(20) NOT NULL, `c3` char(20) NOT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci DROP TABLE t5; SHOW TABLES; Tables_in_test CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 VARCHAR(10) NOT NULL, c3 VARCHAR(20) NOT NULL); SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` varchar(10) NOT NULL, `c3` varchar(20) NOT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ALTER TABLE t5 ADD c4 BINARY(20) NOT NULL AFTER c2; SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` varchar(10) NOT NULL, `c4` binary(20) NOT NULL, `c3` varchar(20) NOT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci DROP TABLE t5; SHOW TABLES; Tables_in_test CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 BINARY(10) NOT NULL, c3 BINARY(20) NOT NULL); SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` binary(10) NOT NULL, `c3` binary(20) NOT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ALTER TABLE t5 ADD c4 BINARY(20) NOT NULL AFTER c2; SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` binary(10) NOT NULL, `c4` binary(20) NOT NULL, `c3` binary(20) NOT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci DROP TABLE t5; SHOW TABLES; Tables_in_test CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 VARBINARY(10) NOT NULL, c3 VARBINARY(20) NOT NULL); SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` varbinary(10) NOT NULL, `c3` varbinary(20) NOT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ALTER TABLE t5 ADD c4 BINARY(20) NOT NULL AFTER c2; SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` varbinary(10) NOT NULL, `c4` binary(20) NOT NULL, `c3` varbinary(20) NOT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci DROP TABLE t5; SHOW TABLES; Tables_in_test CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 CHAR(10) NULL, c3 CHAR(20) NULL); SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` char(10) DEFAULT NULL, `c3` char(20) DEFAULT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ALTER TABLE t5 ADD c4 VARBINARY(20) NULL AFTER c2; SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` char(10) DEFAULT NULL, `c4` varbinary(20) DEFAULT NULL, `c3` char(20) DEFAULT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci DROP TABLE t5; SHOW TABLES; Tables_in_test CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 VARCHAR(10) NULL, c3 VARCHAR(20) NULL); SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` varchar(10) DEFAULT NULL, `c3` varchar(20) DEFAULT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ALTER TABLE t5 ADD c4 VARBINARY(20) NULL AFTER c2; SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` varchar(10) DEFAULT NULL, `c4` varbinary(20) DEFAULT NULL, `c3` varchar(20) DEFAULT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci DROP TABLE t5; SHOW TABLES; Tables_in_test CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 BINARY(10) NULL, c3 BINARY(20) NULL); SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` binary(10) DEFAULT NULL, `c3` binary(20) DEFAULT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ALTER TABLE t5 ADD c4 VARBINARY(20) NULL AFTER c2; SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` binary(10) DEFAULT NULL, `c4` varbinary(20) DEFAULT NULL, `c3` binary(20) DEFAULT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci DROP TABLE t5; SHOW TABLES; Tables_in_test CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 VARBINARY(10) NULL, c3 VARBINARY(20) NULL); SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` varbinary(10) DEFAULT NULL, `c3` varbinary(20) DEFAULT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ALTER TABLE t5 ADD c4 VARBINARY(20) NULL AFTER c2; SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` varbinary(10) DEFAULT NULL, `c4` varbinary(20) DEFAULT NULL, `c3` varbinary(20) DEFAULT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci DROP TABLE t5; SHOW TABLES; Tables_in_test CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 CHAR(10) NOT NULL, c3 CHAR(20) NOT NULL); SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` char(10) NOT NULL, `c3` char(20) NOT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ALTER TABLE t5 ADD c4 VARBINARY(20) NOT NULL AFTER c2; SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` char(10) NOT NULL, `c4` varbinary(20) NOT NULL, `c3` char(20) NOT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci DROP TABLE t5; SHOW TABLES; Tables_in_test CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 VARCHAR(10) NOT NULL, c3 VARCHAR(20) NOT NULL); SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` varchar(10) NOT NULL, `c3` varchar(20) NOT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ALTER TABLE t5 ADD c4 VARBINARY(20) NOT NULL AFTER c2; SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` varchar(10) NOT NULL, `c4` varbinary(20) NOT NULL, `c3` varchar(20) NOT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci DROP TABLE t5; SHOW TABLES; Tables_in_test CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 BINARY(10) NOT NULL, c3 BINARY(20) NOT NULL); SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` binary(10) NOT NULL, `c3` binary(20) NOT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ALTER TABLE t5 ADD c4 VARBINARY(20) NOT NULL AFTER c2; SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` binary(10) NOT NULL, `c4` varbinary(20) NOT NULL, `c3` binary(20) NOT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci DROP TABLE t5; SHOW TABLES; Tables_in_test CREATE TABLE t5(c1 INT NOT NULL PRIMARY KEY, c2 VARBINARY(10) NOT NULL, c3 VARBINARY(20) NOT NULL); SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` varbinary(10) NOT NULL, `c3` varbinary(20) NOT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci ALTER TABLE t5 ADD c4 VARBINARY(20) NOT NULL AFTER c2; SHOW TABLES; Tables_in_test t5 SHOW CREATE TABLE t5; Table Create Table t5 CREATE TABLE `t5` ( `c1` int(11) NOT NULL, `c2` varbinary(10) NOT NULL, `c4` varbinary(20) NOT NULL, `c3` varbinary(20) NOT NULL, PRIMARY KEY (`c1`) ) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci DROP TABLE t5; SHOW TABLES; Tables_in_test