I need to use Self Join on this table.
+------------+------+--------+ | Country | Rank | Year | +------------+------+--------+ |France | 55 | 20
select distinct country,year from table1 where year=(select year from table where country='turkey') and country !=turkey;