Question: Explain the GROUP BY clause.Answer: The GROUP BY clause is used in a SELECT statement to arrange identical data into groups, typically used with aggregate functions.Example:
|
Is it helpful?
Yes
No
Most helpful rated by users:
- What is SQL?
- What is the difference between SQL and MySQL?
- What is a primary key?
- What is an index in a database?
- What is a foreign key?