---
title: "Group by in SQl"  
description: "Group by in SQl"  
author: "Manish Kumar"  
published: 2018-05-30  
updated: 2020-09-21  
canonical: https://www.mindstick.com/interview/23416/group-by-in-sql  
category: "mssql server"  
tags: ["database", "sql server"]  
reading_time: 1 minute  

---

# Group by in SQl

Group by clause is used to group a selected set of rows into a set of summary rows by the values of one or more columns or expressions. It is always used in conjunction with one or more aggregate functions.

## Answers

### Answer by Manish Kumar

Group by clause is used to group a selected set of rows into a set of summary rows by the values of one or more columns or expressions. It is always used in conjunction with one or more aggregate functions.


---

Original Source: https://www.mindstick.com/interview/23416/group-by-in-sql

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
