2
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
5
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
7
CREATE TABLE t1 (word CHAR(20) NOT NULL);
8
LOAD DATA INFILE '../std_data_ln/words.dat' INTO TABLE t1;
9
LOAD DATA LOCAL INFILE 'MYSQL_TEST_DIR/std_data/words.dat' INTO TABLE t1;
10
SELECT * FROM t1 ORDER BY word LIMIT 10;
23
SET PASSWORD FOR root@"localhost" = PASSWORD('foo');
25
SET PASSWORD FOR root@"localhost" = PASSWORD('');
26
CREATE TABLE t3(n INT);
27
INSERT INTO t3 VALUES(1),(2);
28
SELECT * FROM t3 ORDER BY n;
32
SELECT SUM(LENGTH(word)) FROM t1;
36
CREATE TABLE t1 (n INT) ENGINE=MYISAM;
40
SELECT COUNT(*) FROM t1;
46
SELECT COUNT(*) FROM t1;
50
CREATE TABLE t1 (n INT);
51
INSERT INTO t1 VALUES(3456);