mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 21:42:35 +01:00
bb66c80aeb
added support for quiet increased line buffer size client/mysqltest.c fixed memory leak added query logging to result file added error message logging to result file added enable_query_log/disable_query_log mysql-test/mysql-test-run.sh converted tests to use mysqlmanager Updated test results
8 lines
311 B
Text
8 lines
311 B
Text
DROP TABLE IF EXISTS t1;
|
|
CREATE TABLE t1 (name CHAR(20) NOT NULL PRIMARY KEY, score SMALLINT NOT NULL, KEY(score));
|
|
INSERT INTO t1 VALUES ('Sasha', 20), ('Matt', 20), ('Monty', 10), ('David', 10), ('Tim', 10), ('Jeremy', 10);
|
|
SELECT COUNT(*) as n, score FROM t1 GROUP BY score;
|
|
n score
|
|
4 10
|
|
2 20
|
|
drop table t1;
|