That doesnt do exactly what I wanted, maybe I didnt explain it right. Each record has a wait column.
Lets say I change the query to:
SELECT * FROM ttm ORDER BY received DESC LIMIT 4.
and the wait columns for those 4 records are 100, 200, 300, 400, so the total is 1000, so the average wait would be 250.
Thanks again!