Select kullanici_id,country, count(*) as cn From TableName Where kullanici_id=xxx Group By kullanici_id,country order by cn desc LIMIT 1