---
title: 'Grouping records'
description: 'Learn how to group records in NocoDB.'
tags: ['Table operations', 'Group by', 'Grid view']
keywords : ['NocoDB table group by', 'group by field', 'group By''grouping records', 'grouping','group by in table']
---
Grouping records in NocoDB allows for efficient categorization of data into specific `Groups` and `Subgroups.` NocoDB supports three levels of record segregation, providing a powerful organizational tool.
![Group By ](/img/v2/table-operations/group-by-1.png )
### Adding or Editing Groups
To create or modify a grouping in NocoDB, follow these steps:
1. Click on `Group By` in the toolbar.
2. Choose the field by which you want to group the records.
3. Optionally, you can sort the groups in ascending or descending order.
![Group By ](/img/v2/table-operations/group-by-create.png )
:::info
You can add subgroups with up to three levels to further refine your categorization.
:::
![Group By ](/img/v2/table-operations/group-by-nested.png )
### Deleting Groups
To remove a grouping in NocoDB, take these actions:
1. Click on `Group By` in the toolbar.
2. Locate the bin icon to the right of the group you wish to delete and click on it.
:::info
To disable `Group By` and return to the standard spreadsheet grid view, you must remove all configured groups.
:::
![Group By ](/img/v2/table-operations/group-by-delete.png )
### Related topics
- [Field operations ](field-operations )
- [Filter ](filter )
- [Sort ](sort )
- [Row height ](row-height )
- [Quick Search ](search )
- [Download ](download )