evaluate_queries.sql 688 B

12345678910111213141516171819202122232425262728
  1. /* syntax version 1 */
  2. /* postgres can not */
  3. USE plato;
  4. $s = (select count(*) from Input);
  5. select EvaluateExpr($s);
  6. /*
  7. $s = (select key from Input);
  8. select EvaluateExpr($s);
  9. $s = (select key || "foo" from Input);
  10. select EvaluateExpr($s);
  11. $s = (select aggregate_list(key) from Input);
  12. select EvaluateExpr($s);
  13. $s = (select v from (select key,min(value) as v from Input group by key order by key limit 1));
  14. select EvaluateExpr($s);
  15. $s = (select key from Input order by key limit 1);
  16. select EvaluateExpr($s);
  17. $s = (select lag(key) over w from Input window w as ());
  18. select EvaluateExpr($s);
  19. $s = (select a.key from Input as a join Input as b using(key));
  20. select EvaluateExpr($s);
  21. */