Question 153Asked in DSSSB PGT Computer Science (Technical), 11 Jul 2021In Structured Query Language, what is the GROUP BY clause?
- AIt groups the table with same name in the database
- BIt groups the rows together that contain the same values in a specific column
- CIt combines data from two tables on specific conditions
- DIt groups the columns together that contains the same valuesin a specific rows
Show answerHide answer
Correct answer: (B) It groups the rows together that contain the same values in a specific column
Explanation
GROUP BY puts rows with the same values in the given column(s) into groups, usually for aggregates like SUM or COUNT.