Invalid mysql query:
SELECT `stationGpsX`, `stationGpsY`, `stationCode`, `city`, `county` , ((2 * 3960 * ATAN2( SQRT( POWER(SIN((RADIANS( - stationGpsX))/2), 2) + COS(RADIANS(stationGpsX)) * COS(RADIANS( )) * POWER(SIN((RADIANS(0.25 - stationGpsY))/2), 2) ), SQRT(1-( POWER(SIN((RADIANS( - stationGpsX))/2), 2) + COS(RADIANS(stationGpsX)) * COS(RADIANS( )) * POWER(SIN((RADIANS(0.25 - stationGpsY))/2), 2) )) ) )) AS distance FROM `mmWeatherCities` ORDER BY distance LIMIT 1;
with returned error:
Incorrect parameter count in the call to native function 'RADIANS'