Past ExamsRwanda ICT preparation

Topics / Database

A report must list every training course, including courses nobody has enrolled in yet, with the number of trainees. Which join type keeps every course?

Un rapport doit lister chaque formation, y compris celles où personne ne s'est encore inscrit, avec le nombre de stagiaires. Quel type de jointure garde toutes les formations ?

Answers
ACourses LEFT JOIN EnrolmentsCourses LEFT JOIN Enrolments
BCourses INNER JOIN Enrolments, which returns only the courses that have matching enrolment rowsCourses INNER JOIN Enrolments, qui ne renvoie que les formations ayant des inscriptions correspondantes
CCourses CROSS JOIN EnrolmentsCourses CROSS JOIN Enrolments
DNo join is neededAucune jointure n'est nécessaire
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