Past ExamsRwanda ICT preparation

Topics / Database

In a query using both WHERE and HAVING, which statement about the order of processing is correct?

Dans une requête qui utilise à la fois WHERE et HAVING, quelle affirmation sur l'ordre de traitement est correcte ?

Answers
AWHERE filters rows before grouping; HAVING filters groups after aggregationWHERE filtre les lignes avant le regroupement ; HAVING filtre les groupes après l'agrégation
BHAVING runs first on individual rows, and WHERE runs afterwards on the finished groupsHAVING s'exécute d'abord sur les lignes, puis WHERE sur les groupes terminés
CWHERE and HAVING are identical and can always be swappedWHERE et HAVING sont identiques et toujours interchangeables
DHAVING can only be used without GROUP BYHAVING ne peut s'utiliser que sans GROUP BY
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