Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- WITH ranked AS (
- SELECT lat_n,
- row_number() over(order by lat_n) as id
- from station
- )
- SELECT ROUND(lat_n,4)
- FROM ranked
- WHERE id = (SELECT CEIL(COUNT(*)/2) FROM station);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement