mariadb/mysql-test/main/group_by_null.result
2018-03-29 13:59:44 +03:00

6 lines
171 B
Text

create table t1 (a int);
insert into t1 values (1),(2);
select max('foo') from t1 group by value(a), extractvalue('bar','qux') order by "v";
max('foo')
foo
drop table t1;