2 # Creating table with single column index setup
6 DROP
TABLE IF EXISTS t1;
31 INSERT INTO t1 VALUES ( 1,1,1,1,1,1,1,1),(2,2,2,2,2,2,2,2);
37 INSERT INTO t1 SELECT key1+@d, key2+@d, key3+@d, key4+@d,
38 key5+@d, key6+@d, key7+@d, key8+@d FROM t1;
44 # inserting null values.
50 INSERT INTO t1 VALUES (key1+@d, key2+@d, key3+@d, key4+@d,
51 key5+@d, NULL, key7+@d, key8+@d);
60 INSERT INTO t1 VALUES (key1+@d, key2+@d, key3+@d, key4+@d,
61 NULL, key6+@d, key7+@d, key8+@d);
68 # The following statement analyzes and
69 # stores the key distribution for a table.