Ver originalSELECT A.*, (SELECT B.latitud FROM B ORDER BY ABS(A.latitud - B.latitud) ASC LIMIT 0, 1)FROM A;