Skip to main content
Since 1.16.0 Get the top N most common values from a space-saving aggregate. The space-saving aggregate can be created from either freq_agg or mcv_agg.

Samples

Get the 20 most frequent zip_codes from an employees table:

Arguments

The syntax is:

Returns