-
What is the significance of the statement “GROUP BY d.name” in the given query?
SELECT p.name, COUNT (emp_id) Per_no
FROM Person p INNER JOIN Employee em
ON p.per_id=em.emp_id
GROUP BY p.name
-
- Aggregation of the field “name” of table “department”
- Sorting of the field “name”
- Aggregation of the field “name” of both table
- All of above
- None of these
Correct Option: A
“GROUP BY” clause s used for aggregation of field.