CREATE TABLE test_table (
a INT,
b DATE INVISIBLE
) ENGINE = InnoDB;
ALTER TABLE test_table ADD COLUMN c INT INVISIBLE;
ALTER TABLE test_table CHANGE COLUMN b b DATE VISIBLE;
ALTER TABLE test_table MODIFY COLUMN b DATE INVISIBLE;
ALTER TABLE test_table ALTER COLUMN c SET VISIBLE;
SHOW COLUMNS FROM test_table;
SHOW CREATE TABLE test_table;
INSERT INTO test_table VALUES (1, now(), 33);
INSERT INTO test_table () VALUES (1, now(), 33);
INSERT INTO test_table VALUES (1, 22);
INSERT INTO test_table (a, b, c) VALUES (1, now(), 33);
TABLE test_table; SELECT * FROM test_table;
UPDATE test_table SET b = DATE_ADD(NOW(), INTERVAL 1 DAY) WHERE c = 22;
SELECT a, b, c FROM test_table;