Past ExamsRwanda ICT preparation

Topics / Database

Which query lists each staff member's name together with the name of their district?

Quelle requête liste le nom de chaque agent avec le nom de son district ?

Answers
ASELECT s.Name, d.Name FROM Staff s CROSS JOIN Districts d ORDER BY s.Name, d.Name;SELECT s.Name, d.Name FROM Staff s CROSS JOIN Districts d ORDER BY s.Name, d.Name;
BSELECT s.Name, d.Name FROM Staff s UNION Districts d;SELECT s.Name, d.Name FROM Staff s UNION Districts d;
CSELECT Name FROM Staff WHERE Districts;SELECT Name FROM Staff WHERE Districts;
DSELECT s.Name, d.Name FROM Staff s JOIN Districts d ON s.DistrictID = d.DistrictID;SELECT s.Name, d.Name FROM Staff s JOIN Districts d ON s.DistrictID = d.DistrictID;
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