SELECT SUM(me.ecount) FROM #__bl_match_events as me, #__bl_match as m, #__bl_matchday as md WHERE me.e_id = 1 AND me.player_id = 7 AND me.match_id = m.id AND m.m_played = 1 AND md.id=m.m_id AND md.s_id=1SELECT SUM(me.ecount) FROM #__bl_match_events as me, #__bl_match as m, #__bl_matchday as md WHERE me.e_id = 2 AND me.player_id = 7 AND me.match_id = m.id AND m.m_played = 1 AND md.id=m.m_id AND md.s_id=1Array
(
)