avg_decimal.sql 177 B

1234567
  1. /* syntax version 1 */
  2. /* postgres can not */
  3. pragma EmitAggApply;
  4. SELECT
  5. avg(key)
  6. FROM (values (Decimal("0.1",10,1)),(Decimal("0.2",10,1)),(Decimal("0.3",10,1))) as a(key)