Past ExamsRwanda ICT preparation

Topics / Database

The Staff table has 200 rows, and 30 staff have no email recorded (NULL). What do COUNT(*) and COUNT(Email) return?

La table Staff a 200 lignes, et 30 agents n'ont pas d'e-mail enregistré (NULL). Que renvoient COUNT(*) et COUNT(Email) ?

Answers
A200 and 200, because both functions count every row in the table200 et 200, car les deux fonctions comptent chaque ligne de la table
B170 and 200170 et 200
C200 and 170200 et 170
D170 and 170170 et 170
The answer and explanation are in the full bank.

This question is one of 2,831 in the paid banks. Each comes with the correct answer and the reasoning behind it, not just a mark.

Unlock for 5,000 RWF

MIFOTRA exam practicealigned to Practice set: Database Management·3 marks·Hard

More Database questions