1 2 3 4 5 6 7 8 9 10
INSERT INTO plato.Output SELECT * FROM ( SELECT x FROM ( SELECT <|a:key,b:value|> as x FROM plato.Input ) group by x ) flatten columns