count-rows
Count Rows
To count rows you can use the COUNT()
function.
To count unique entries use the DISTINCT
keyword too:
To count aggregated rows with common values use the GROUP BY
keywords:
or
Example:
Obtaining Totals
To total up numeric columns use the SUM()
function.
Last updated
Was this helpful?