~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/group_by.test

  • Committer: Brian Aker
  • Date: 2011-02-22 06:12:02 UTC
  • mfrom: (2190.1.6 drizzle-build)
  • Revision ID: brian@tangent.org-20110222061202-k03czxykqy4x9hjs
List update, header fixes, multiple symbols, and David deletes some code.

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
#
8
8
# Simple test without tables
9
9
 
 
10
--error ER_INVALID_GROUP_FUNC_USE
10
11
SELECT 1 FROM (SELECT 1) as a  GROUP BY SUM(1);
11
12
 
12
13
#
750
750
select * from t1 group by f1;
751
751
select * from t1 group by f2;
752
752
select * from t1 group by f1, f2;
753
 
select t1.f1,t.* from t1, t1 t group by 1;
 
753
select t1.f1,t.* from t1, t1 t where t1.f1 >= 0 group by 1;
754
754
drop table t1;
755
755
 
756
756
#