mariadb/mysql-test/r/group_by_null.result
Galina Shalygina a4ded0a9b5 Mistakes corrected.
TVC can be used in IN subquery and in PARTITION BY struct now.
Special variable to control working of optimization added.
2017-10-28 20:54:18 +02: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;