Query to get list of activities by provider.