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

Visitors 31.31.117.123 visit my pages into day
2013-01-01|
      visitor is from  XX

countrycode = UA
org = TENET Scientific Production Enterprise LLC
region = Odessa