# Query group by....inside Glide?

**URL:** <https://community.glideapps.com/t/query-group-by-inside-glide/9641>\
**Category:** Ask for Help\
**Created:** [May 23, 2020, 12:16pm UTC](https://community.glideapps.com/t/query-group-by-inside-glide/9641 "2020-05-23T12:16:01Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [February 14, 2021, 6:35am UTC](https://community.glideapps.com/t/query-group-by-inside-glide/9641/9 "2021-02-14T06:35:38Z")

</div>

> [@prayheart\_eyes Add Query function to Glide Tables, Please!](https://community.glideapps.com/t/add-query-function-to-glide-tables-please/22533/11):
>
> Just want to add to this…if you need a workaround for now…what I would do is first make sure you have enabled the RowID column in your sheet. Then create a template with the unique key values you would normally select for a query. Then create a multiple relation that links that template back to itself. Then create a Single Value column to get the first RowID out of that relation. Then create an IF/Then column that returns ‘true’ if the row’s RowID matches the single value RowID. Finally create…

---

_[View the full topic](https://community.glideapps.com/t/query-group-by-inside-glide/9641)._
