Seeking an approach to handle larger response of GROUPBY

Hi Everyone,

I want to run a group by query on a larger dataset ( Description of dataset: dataset has 10 millions unique IDs and for every ID there are multiple rows on which I need to group by).

Can anyone suggest some better approach to get all records in a single or multiple queries?

Thank you,

Niraj Dedhia

What happens if you run is as just a single query?