Skip to main contentSkip to solution

Match the LIST-I with LIST-II

LIST-I (SQL Clause)LIST-II (Description)
A.GROUP BYI.Is used to fetch some rows on the basis of common values in a column.
B.HAVINGII.Is used to specify conditions on rows with Group By clause.
C.ORDER BYIII.Is used to display data in an ordered form.
D.WHEREIV.Is used to retrieve data that meets certain conditions.

Solution

✅ Correct Option: 2
List IList II
(A) GROUP BY(I) Is used to fetch some rows on the basis of common values in a column.
(B) HAVING(II) Is used to specify conditions on rows with Group By clause.
(C) ORDER BY(III) Is used to display data in an ordered form.
(D) WHERE(IV) Is used to retrieve data that meets certain conditions.

WHERE filters individual rows before grouping, while HAVING filters the groups created by GROUP BY. Students often swap these two.

Keyboard Shortcuts

  • Left arrow: Previous question
  • Right arrow: Next question
  • S key: Jump to solution
  • Q key: Jump to question