1. Home
  2. Database Management Systems
  3. Database Management Systems
  4. Which SQL aggregate function is used to return the total…

Added 11 Nov 2026

Which SQL aggregate function is used to return the total number of rows in a table?

  1. SUM()
  2. TOTAL()
  3. COUNT() Correct answer
  4. MAX()

Correct answer

C. COUNT()

11 views

MCQSEXAM

Explanation

COUNT() returns the number of rows. Source: mcqsghar.com, Q7.

Reference

Asked in: FPSC,CSS,NTS,PPSC,PMS

Preparing for an exam?

Doubts & discussion

Not sure why the answer is C? Ask here and get an explanation.

Ask a doubt about this MCQ

Shown after review. No links please.

More Database Management Systems MCQs

Practise all Database Management Systems MCQs

Similar MCQs