Computer Science

Which aggregate function can be used to find the cardinality of a table ?

  1. sum()
  2. count()
  3. avg()
  4. max()

SQL Queries

3 Likes

Answer

count()

Reason — The count() aggregate function is used to find the cardinality of a table, which refers to the number of rows in that table.

Answered By

3 Likes


Related Questions