1. Home
  2. Database Management Systems
  3. Database Management Systems
  4. COUNT() returns:

Added 11 Nov 2026

COUNT() returns:

  1. Sum
  2. Total rows Correct answer
  3. Max
  4. Average

Correct answer

B. Total rows

10 views

MCQSEXAM

Explanation

COUNT() returns the total number of rows that match the query. COUNT(*) counts every row, while COUNT(column) counts only non-NULL values in that column.

SUM, MAX and AVG are the other aggregates in the options.

Keep preparing with more Database Management Systems MCQs on MCQsExam.com.

Reference

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

Preparing for an exam?

Doubts & discussion

Not sure why the answer is B? 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