test_fuse_map_take.sql 246 B

12345678910
  1. /* postgres can not */
  2. $data = (
  3. SELECT key AS Name, value AS Value FROM plato.Input0
  4. );
  5. $filtered = (
  6. SELECT * FROM $data WHERE Name != "BadName" LIMIT 10
  7. );
  8. SELECT Name, Avg(Length(Value)) AS Len FROM $filtered GROUP BY Name ORDER BY Name;