mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
Changing tests
BitKeeper/deleted/.del-sel000004.test~445526a8a20de101: Delete: mysql-test/t/sel000004.test BitKeeper/deleted/.del-sel000004.result~360af2095c88cb8c: Delete: mysql-test/r/sel000004.result
This commit is contained in:
@ -64,3 +64,7 @@ score count(*)
|
|||||||
3 3
|
3 3
|
||||||
2 1
|
2 1
|
||||||
1 2
|
1 2
|
||||||
|
One Two sum(Four)
|
||||||
|
1 1 16
|
||||||
|
1 2 16
|
||||||
|
1 3 16
|
||||||
|
@ -1,4 +0,0 @@
|
|||||||
One Two sum(Four)
|
|
||||||
1 1 16
|
|
||||||
1 2 16
|
|
||||||
1 3 16
|
|
@ -243,3 +243,19 @@ select sql_big_result spid,sum(userid) from t1 group by spid desc;
|
|||||||
explain select sql_big_result score,count(*) from t1 group by score desc;
|
explain select sql_big_result score,count(*) from t1 group by score desc;
|
||||||
select sql_big_result score,count(*) from t1 group by score desc;
|
select sql_big_result score,count(*) from t1 group by score desc;
|
||||||
drop table t1;
|
drop table t1;
|
||||||
|
drop table if exists t1;
|
||||||
|
create table t1 (One int unsigned, Two int unsigned, Three int unsigned, Four int unsigned);
|
||||||
|
insert into t1 values (1,2,1,4);
|
||||||
|
insert into t1 values (1,2,2,4);
|
||||||
|
insert into t1 values (1,2,3,4);
|
||||||
|
insert into t1 values (1,2,4,4);
|
||||||
|
insert into t1 values (1,1,1,4);
|
||||||
|
insert into t1 values (1,1,2,4);
|
||||||
|
insert into t1 values (1,1,3,4);
|
||||||
|
insert into t1 values (1,1,4,4);
|
||||||
|
insert into t1 values (1,3,1,4);
|
||||||
|
insert into t1 values (1,3,2,4);
|
||||||
|
insert into t1 values (1,3,3,4);
|
||||||
|
insert into t1 values (1,3,4,4);
|
||||||
|
select One, Two, sum(Four) from t1 group by One,Two;
|
||||||
|
drop table if exists t1;
|
||||||
|
@ -1,16 +0,0 @@
|
|||||||
drop table if exists t1;
|
|
||||||
create table t1 (One int unsigned, Two int unsigned, Three int unsigned, Four int unsigned);
|
|
||||||
insert into t1 values (1,2,1,4);
|
|
||||||
insert into t1 values (1,2,2,4);
|
|
||||||
insert into t1 values (1,2,3,4);
|
|
||||||
insert into t1 values (1,2,4,4);
|
|
||||||
insert into t1 values (1,1,1,4);
|
|
||||||
insert into t1 values (1,1,2,4);
|
|
||||||
insert into t1 values (1,1,3,4);
|
|
||||||
insert into t1 values (1,1,4,4);
|
|
||||||
insert into t1 values (1,3,1,4);
|
|
||||||
insert into t1 values (1,3,2,4);
|
|
||||||
insert into t1 values (1,3,3,4);
|
|
||||||
insert into t1 values (1,3,4,4);
|
|
||||||
select One, Two, sum(Four) from t1 group by One,Two;
|
|
||||||
drop table if exists t1;
|
|
Reference in New Issue
Block a user