SELECT
ROUND(6378.137*2*ASIN(SQRT(POW(SIN((la_num2-la_num1)/2),2)+COS(la_num2)*COS(la_num1)*POW(SIN((lo_num2-lo_num1)/2),2)))*1000) AS jl
FROM
(
select
lo_num1* PI() / 180 as lo_num1,
lo_num2* PI() / 180 as lo_num2,
la_num1* PI() / 180 as la_num1,
la_num2* PI() / 180 as la_num2
from(
SELECT
120.0054 AS lo_num1,30.24495 AS la_num1,120.0053 AS lo_num2,30.24512 AS la_num2
) a
)b