~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/r/having.result

  • Committer: Brian Aker
  • Date: 2008-11-29 02:09:01 UTC
  • mfrom: (629.2.6 devel)
  • Revision ID: brian@tangent.org-20081129020901-khmbgwelmn6ysx7r
Merge from Monty

Show diffs side-by-side

added added

removed removed

Lines of Context:
237
237
20      hello
238
238
30      hello
239
239
select sum(col1) as co12 from t1 group by col2 having col2 10;
240
 
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '10' at line 1
 
240
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near '10' at line 1
241
241
select sum(col1) as co2, count(col2) as cc from t1 group by col1 having col1 =10;
242
242
co2     cc
243
243
40      4