1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Update of test results

This commit is contained in:
unknown
2002-12-26 15:24:40 +02:00
parent 62c7449a55
commit 868ed1135f

View File

@ -63,7 +63,12 @@ nothing 2
one 1
two 1
drop table t1;
drop table if exists t;
create table t1 (row int not null, col int not null, val varchar(255) not null);
insert into t1 values (1,1,'orange'),(1,2,'large'),(2,1,'yellow'),(2,2,'medium'),(3,1,'green'),(3,2,'small');
select max(case col when 1 then val else null end) as color from t1 group by row;
color
orange
yellow
green
drop table if exists t;