Past ExamsRwanda ICT preparation

Topics / Database

In a staff list, the Phone column is NULL for some people, and the report should show “Not provided” instead of a blank. Which function does this?

Dans une liste du personnel, la colonne Phone est NULL pour certaines personnes, et le rapport doit afficher « Non fourni » au lieu d'un blanc. Quelle fonction le fait ?

Answers
ACOALESCE(Phone, 'Not provided')COALESCE(Phone, 'Non fourni')
BCOUNT(Phone, 'Not provided'), which counts the missing values and prints themCOUNT(Phone, 'Non fourni'), qui compte les valeurs manquantes et les affiche
CDISTINCT(Phone)DISTINCT(Phone)
DUPPER(Phone)UPPER(Phone)
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·2 marks·Medium

More Database questions