how about this one sql broo ... you just remove the activity in field n group by ......