Does OFFSET syntax in MySQL require a number parameter? Could it be more like a variable?
I am doing this HackerRank SQL question and cannot understand why this OFFSET does not work.This is for MySQL syntax: SELECT ROUND(LAT_N, 4) FROM STATION ORDER BY LAT_N LIMIT 1 OFFSET (SELECT FLOOR(COUNT(*) / 2) FROM STATION); But if I…