English

In SQL, the aggregate function which will display the cardinality of the table is ______. - Computer Science (Python)

Advertisements
Advertisements

Question

In SQL, the aggregate function which will display the cardinality of the table is ______.

Options

  • sum()

  • count(*)

  • avg()

  • sum(*)

MCQ
Fill in the Blanks

Solution

In SQL, the aggregate function which will display the cardinality of the table is count(*).

Explanation: 

A table's cardinality is its number of rows, which is returned by count(*) from the statement.

shaalaa.com
  Is there an error in this question or solution?
2023-2024 (February) Set 4
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×