I have a model table like this
Table A
Fields A, B, C, D, E (5 Fields)
I want to group by field B and min by field C so in the end, i need to have a full queryset like
A, B, C, D, E, Min(C)GroupBY(B) (6 Fields).
I know about A.objects.values(B).annotate(min(C)) but it returns only 2 fields and not a full row.
My requirements are to use only pure Django ORM or extra. I can't use raw SQL (limitations for filter, rawqueryset etc) cause i need a queryset to import to Django-Tables2.
Any advice how i can achieve this?