SUMMARIZE Statement
The SUMMARIZE statement returns summary statistics for a table, view or a query.
Usage
SUMMARIZE tbl;
To summarize a query, prepend SUMMARIZE to a query.
SUMMARIZE SELECT * FROM tbl;
See Also
For more examples, see the guide on SUMMARIZE.