SQL aggregate function for total rows:
-
A
SUM()
-
B
TOTAL()
-
C
COUNT()
Correct answer
-
D
MAX()
Correct answer
C. COUNT()
8 views
Explanation
COUNT() returns the number of rows matching a criterion. Source: mcqsghar.com, Q7.
Reference
Asked in: FPSC,CSS,NTS,PPSC,PMS
Doubts & discussion
Not sure why the answer is C? Ask here and get an explanation.
Ask a doubt about this MCQ