The sum of the distances of all employees and select the top 3
I have a table "raporty" in which there are reports of all employees. Each employee has their id. How to do that for each employee separately summed up his trip distance and choose the 3 largest in the current month?
Aucun commentaire:
Enregistrer un commentaire