I\'ve got two tables (members and activities) and I\'m trying to query the members with the latest activity for each member. I\'ve got it working with two queries (one to get t
Select max(a.id), m.name, a.activity_code, a.activity_timestamp, a.activity_description
From members m
Left join
activities a on a.member_id=m.id
Group by m.name, a.activity_code, a.activity_timestamp, a.activity_description