sum_decimal.sql 212 B

1234567
  1. /* syntax version 1 */
  2. /* postgres can not */
  3. pragma EmitAggApply;
  4. SELECT
  5. sum(key)
  6. FROM (values (CAST("1.51" AS Decimal(10, 3))), (CAST("2.22" AS Decimal(10, 3))), (CAST("3.49" AS Decimal(10, 3)))) as a(key)