~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/r/group_by.result

Merge Joe, plus I updated the tests.

Show diffs side-by-side

added added

removed removed

Lines of Context:
552
552
delete from t2  where a = 2 and b = 'val-2' order by a,b,c,d limit 30;
553
553
explain select c from t2 where a = 2 and b = 'val-2' group by c;
554
554
id      select_type     table   type    possible_keys   key     key_len ref     rows    Extra
555
 
1       SIMPLE  t2      #       PRIMARY,a       a       #       const,const     #       #
 
555
1       SIMPLE  t2      ref     PRIMARY,a       a       806     const,const     36      Using where; Using index
556
556
select c from t2 where a = 2 and b = 'val-2' group by c;
557
557
c
558
558
val-74
895
895
f1      f2
896
896
select * from t1 group by f1, f2;
897
897
f1      f2
898
 
select t1.f1,t.* from t1, t1 t where t1.f1 >= 0 group by 1;
 
898
select t1.f1,t.* from t1, t1 t group by 1;
899
899
f1      f1      f2
900
900
drop table t1;
901
901
CREATE TABLE t1(