Database error: Invalid SQL: SELECT sch_id AS id, sch_name AS name, sch_type AS type, sch_level AS poi_type, sch_address AS address, sch_phone AS phone, sch_fax AS fax, sch_grade AS grade, sch_latitude AS lat,sch_longitude AS lng, sch_reb_rating AS rs_rating, ( 6378.7 * ACOS( SIN( sch_latitude / 57.2958 ) * SIN( / 57.2958 ) + COS( sch_latitude / 57.2958 ) * COS( / 57.2958 ) * COS( / 57.2958 - ( sch_longitude ) / 57.2958 ) ) ) * 1.609344 AS distance FROM school_master WHERE 1 AND sch_cartodb_id = 0 AND sch_cartodb_id > 0 AND sch_type = 'Public' AND sch_level = 'Elementary' ORDER BY sch_cartodb_id DESC, distance ASC LIMIT 1
MySQL Error: 1064 (You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '/ 57.2958 ) + COS( sch_latitude / 57.2958 ) * COS( / 57.2958 ) * COS( / 57.295' at line 1)
Session halted.