Skip to content

Group by

shi edited this page Apr 30, 2021 · 1 revision

When counting or adding up values, it is often neccesary to group columns with the same values.
Multiple column names are separated by a comma ,.

Examples

group by pid
group by xson->>'@role', xson->>'@type',
Clone this wiki locally