Match the LIST-I with LIST-II
LIST-I (SQL Clause) LIST-II (Description) 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.
Match the LIST-I with LIST-II
| LIST-I (SQL Clause) | LIST-II (Description) | ||
|---|---|---|---|
| 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. |
Solution
✅ Correct Option: 2
| List I | List 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.
Related questions:
2025: 30 May Shift 2
2025: 22 May Shift 1