blob: 944f3c386fb490710dfc593da201e3e344abe369 (
plain) (
blame)
1
2
3
4
5
|
USE plato;
$a = (SELECT key,subkey || "a" as subkey from Input where value < "r");
$b = (SELECT key,subkey || "b" as subkey from Input);
select a.key as k1,a.subkey,b.subkey from Input as a join $b as b using (key);
|