SQL ERROR

IP:54.162.15.31 Failed Query: select sm.*,tm.team_name FROM kabaddi_team_master tm left join kabaddi_standing_master sm on (sm.team_id = tm.id) where year_id = 6 and sm.team_category_type=0 order by points DESC SQL Error: Column 'year_id' in where clause is ambiguous ********************