You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
288 B
17 lines
288 B
CREATE TABLE t1 (
|
|
a int PRIMARY KEY,
|
|
b varchar(255)
|
|
) ENGINE = NDB;
|
|
INSERT INTO t1 (a, b) VALUES
|
|
(1, "Row 1"),
|
|
(11, "Row 2"),
|
|
(12, "The third row"),
|
|
(37, "And of course number 37");
|
|
SELECT COUNT(*) FROM t1;
|
|
COUNT(*)
|
|
4
|
|
TRUNCATE TABLE t1;
|
|
SELECT COUNT(*) FROM t1;
|
|
COUNT(*)
|
|
0
|
|
DROP TABLE t1;
|
|
|