Easy1 markMultiple Choice
Area I: Information SystemsData ManagementSQLArea I

CPA · Question 53 · Area I: Information Systems

Which SQL aggregate function is used to count the number of rows in a result set?

Answer options:

A.

SUM()

B.

TOTAL()

C.

COUNT()

D.

NUMBER()

How to approach this question

Identify the counting function.

Full Answer

C.COUNT()✓ Correct
SELECT COUNT(*) FROM table returns the number of rows.

Common mistakes

Using SUM (which adds the values inside the rows).

Practice the full CPA ISC Practice Exam 2

82 questions · hints · full answers · grading

More questions from this exam