diff options
author | unknown <bell@sanja.is.com.ua> | 2002-10-03 18:47:04 +0300 |
---|---|---|
committer | unknown <bell@sanja.is.com.ua> | 2002-10-03 18:47:04 +0300 |
commit | f094b6af4c5c32bfda7f74461d47675ab61722a0 (patch) | |
tree | a10d91a6ce2aa4dc6b0104292912675442cafafb /mysql-test/r/group_by.result | |
parent | c9a2b58986635015b3f3867999ef3fafa2bd2728 (diff) | |
download | mariadb-git-f094b6af4c5c32bfda7f74461d47675ab61722a0.tar.gz |
fixing EXPLAIN select types
Diffstat (limited to 'mysql-test/r/group_by.result')
-rw-r--r-- | mysql-test/r/group_by.result | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/mysql-test/r/group_by.result b/mysql-test/r/group_by.result index 0781468bc97..54b4e3fba6d 100644 --- a/mysql-test/r/group_by.result +++ b/mysql-test/r/group_by.result @@ -226,7 +226,7 @@ key (score) INSERT INTO t1 VALUES (1,1,1),(2,2,2),(2,1,1),(3,3,3),(4,3,3),(5,3,3); explain select userid,count(*) from t1 group by userid desc; id select_type table type possible_keys key key_len ref rows Extra -1 FIRST t1 ALL NULL NULL NULL NULL 6 Using temporary; Using filesort +1 SIMPLE t1 ALL NULL NULL NULL NULL 6 Using temporary; Using filesort select userid,count(*) from t1 group by userid desc; userid count(*) 3 3 @@ -234,10 +234,10 @@ userid count(*) 1 2 explain select spid,count(*) from t1 where spid between 1 and 2 group by spid desc; id select_type table type possible_keys key key_len ref rows Extra -1 FIRST t1 range spID spID 5 NULL 2 where used; Using index +1 SIMPLE t1 range spID spID 5 NULL 2 where used; Using index explain select spid,count(*) from t1 where spid between 1 and 2 group by spid; id select_type table type possible_keys key key_len ref rows Extra -1 FIRST t1 range spID spID 5 NULL 2 where used; Using index +1 SIMPLE t1 range spID spID 5 NULL 2 where used; Using index select spid,count(*) from t1 where spid between 1 and 2 group by spid; spid count(*) 1 1 @@ -248,7 +248,7 @@ spid count(*) 1 1 explain select sql_big_result spid,sum(userid) from t1 group by spid desc; id select_type table type possible_keys key key_len ref rows Extra -1 FIRST t1 ALL NULL NULL NULL NULL 6 Using filesort +1 SIMPLE t1 ALL NULL NULL NULL NULL 6 Using filesort select sql_big_result spid,sum(userid) from t1 group by spid desc; spid sum(userid) 5 3 @@ -258,7 +258,7 @@ spid sum(userid) 1 1 explain select sql_big_result score,count(*) from t1 group by score desc; id select_type table type possible_keys key key_len ref rows Extra -1 FIRST t1 index NULL score 3 NULL 6 Using index +1 SIMPLE t1 index NULL score 3 NULL 6 Using index select sql_big_result score,count(*) from t1 group by score desc; score count(*) 3 3 |