aggregate_distinct_struct_access.sql 188 B

1234567
  1. /* syntax version 1 */
  2. /* postgres can not */
  3. use plato;
  4. $withStruct = select subkey, value, AsStruct(key as key) as s from Input3;
  5. select count(distinct s.key) as cnt from $withStruct;