Sorry, I fixed it, I had incorrect field types for lon and lat, they were text type, I changed them to REAL now this works fine :
Select place_id,place_name,lat,lon, ( 6371 * acos( cos( radians( -6.845830100000001 ) ) * cos( radians( lat ) ) * cos( radians( lon ) - radians( 107.4736016) ) + sin( radians( -6.845830100000001 ) ) * sin( radians( lat ) ) ) ) as dist FROM pois group by place_name HAVING dist < 3 limit 10;
My problem now is HOW DO WE RUN THIS on basic4android !!!