I seldomly use SQL and I cannot find anything similar in my archive so I\'m asking this simple query question: I need a query which one returns personID and onl
You're making it way too difficult:
select personID, min(seenTime) from personAttendances group by personID