I need to get the max values from a list of values obtained from a query.
Basically, the problem is this:
I have 2 tables:
Lawyer
- id (PK)
- surname
- name
Case
- id (PK)
- id_Client
- date
- id_Lawyer (FK)
And I need to get the Lawyer with the largest number of cases...(There is not problem with that) but, if exist more than one lawyer with the largest number of cases, I should list them. Any help on this would be appreciated.