Hi,

are there any plans to support column positions as column references
in the GROUP BY clause, similar to the ORDER BY clause and what say
MySQL supports? For example, this currently fails:

  drop table test if exists;
  create table test( a int, b varchar(255) );
  insert into test (a, b) values (1, 'foo' );
  insert into test (a, b) values (2, 'bar' );

  select sum(a), b from test group by 2;

Column "B" must be in the GROUP BY list; SQL statement:
select sum(a), b from test group by 2 [90016-157] 90016/90016 (Hilfe)


Benjamin

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/h2-database?hl=en.

Reply via email to