Task: Implement GROUP BY Queries in Django
Task: Implement GROUP BY Queries in Django: a task in Terminal-Lego-15k (Harbor dataset). Create a Django project that demonstrates how to perform GROUP BY queries using Django's ORM. You need to set up a model representing members with designations and shops, populate it with sample data, and…
The task
Create a Django project that demonstrates how to perform `GROUP BY` queries using Django's ORM. You need to set up a model representing members with designations and shops, populate it with sample data, and write a script that groups members by their designation using Django's proper ORM methods.
Part of PrimeIntellect/Terminal-Lego-15k.