I want to realize the sql clause just like:
select * from A group by A.a having A.b=max(A.b);
I have tried to use following clause:
A.objects.values("a").aotate(Max("b")).filter(b=Max("b"))
but this clause will group by with ("a","b") rather than ("a"),
so, how can i do with it? Thanks for your answers!
P.S. my django version is 1.9.6!
