... SELECT `kod` ,`kdy` FROM `ip_kdy` WHERE `ip` = '189.58.85.140'ORDER BY `kdy` DESC

Visitors 189.58.85.140 visit my pages into day
2014-02-17|
      visitor is from  XX

countrycode = BR
org = TELEFONICA BRASIL S.A
region = Foz Do Iguacu