Samples
Histogram distribution
Create a histogram showing the distribution of battery levels across devices:Approximate row count
Get a fast approximate count of rows in a without a full table scan:Available functions
Distribution analysis
histogram(): partition a dataset into buckets and get the number of counts in each bucket
Approximate aggregation
approximate_row_count(): estimate the number of rows in a table using catalog statistics