group_by_cube_duo.sql 150 B

123
  1. /* syntax version 1 */
  2. /* postgres can not */
  3. select sum(length(value)), key, subkey from plato.Input group by cube(key,subkey) order by key, subkey;