Maybe i don't use the right words but i don't find a solution with the search box. i have a race with a lot of runner. Each runner have done 7/12 laps. I have one record by laps by runner. For example :
+------+-----------+---------------------+
| id. | id.runner | lapse time |
+------+-----------+---------------------+
| 1 | 2 | 2019-12-16 09:24:10 |
| 2 | 7 | 2019-12-16 09:24:20 |
| 3 | 4 | 2019-12-16 09:24:30 |
| 4 | 2 | 2019-12-16 09:25:10 |
| 5 | 7 | 2019-12-16 09:25:30 |
| 6 | 4 | 2019-12-16 09:25:50 |
| 7 | 2 | 2019-12-16 09:26:10 |
| 8 | 7 | 2019-12-16 09:26:40 |
| 9 | 4 | 2019-12-16 09:27:10 |
| 10 | 2 | 2019-12-16 09:27:10 |
+------+-----------+---------------------+
I need if possible one query for getting the average time by runner, here : 2 : 60seconds 7 : 70seconds 4 : 80seconds
And another one for getting the average of the average time, here : (60+70+80)/3 = 70
I tried a lot of queries but the result is always wrong.