2003-08-06 14:58:03 +02:00
|
|
|
DROP TABLE IF EXISTS t1, t2;
|
|
|
|
CREATE TABLE t1 (id INTEGER, grp TINYINT, id_rev INTEGER);
|
|
|
|
SELECT COUNT(*) FROM t1;
|
|
|
|
COUNT(*)
|
|
|
|
4181000
|
|
|
|
SELECT COUNT(DISTINCT id) FROM t1 GROUP BY grp;
|
|
|
|
DROP TABLE t1;
|
2003-11-21 00:53:01 +01:00
|
|
|
set @@read_buffer_size=default;
|