SQL ERROR

IP:54.92.193.89 Failed Query: SELECT fmd.year_id,fmd.player_id, sum(fmd.total_attempt) as total_attempt_raid, sum(fmd.success_raid) as total_success_raid, sum(fmd.unsuccess_raid) as total_unsuccess_raid, sum(fmd.total_attempt) as total_attempt_tackle, sum(fmd.tackle) as total_success_tackle, sum(fmd.total_score) as total_scored, tpm.profile_image,tpm.full_name, tpm.jersey_no,tpm.jersey_name,tpm.id,tpm.player_position, tm.team_name FROM kabaddi_fixture_match_details fmd left join kabaddi_team_player_master tpm on (tpm.id = fmd.player_id) left join kabaddi_team_master tm on (tm.id = fmd.team_id) where year_id=6 and tpm.id = 114 group by tpm.id order by total_success_raid DESC limit 1 SQL Error: Column 'year_id' in where clause is ambiguous ********************