load data infile 'C:/test/city.csv' into table CITYTABLE
fields terminated by ',' enclosed by '"' lines terminated by '\n' ignore 1 rows;
SET SQL_SAFE_UPDATES=0;
select LAT,LON from (select ID,COUNTRY,CITY,round(LAT,3) AS LAT,round(LON,3) AS LON FROM CITYTABLE group by round(LON,3),round(LAT,3)) as t1 order by CITY desc,ID limit 3,3;
select round(LAT,3) AS LAT,round(LON,3) AS LON
FROM CITYTABLE group by round(LON,3),round(LAT,3);
select round(LAT,3) AS LAT,round(LON,3) AS LON
FROM CITYTABLE group by round(LON,3),round(LAT,3) limit 5,15;