blob: 7054019fb53c9df0d1daa6eb17c047bff29afc27 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
/* postgres can not */
USE plato;
$max = select max(key) from Input;
$list = select key from Input where subkey > "1";
select * from (
select if(key = $max, "max", key) as key, value from Input
)
where key in compact $list
|