Select \'August\' month, t1.account_id, t1.account_buying_stage_connect,t2.stage_name, Count(t2.opportunity_id) WHERE t1.account_buying_stage_connect IS NOT NULL GROUP BY t1