stud

study spacejunk
Log | Files | Refs | LICENSE

commit 90042ab65af7b1081fd9ca055966b2cf6d0d3854 (tree)
parent 170b2b9e6bd9cd5e4f646cceea428498d8fdd136
Author: Motiejus Jakštys <desired.mta@gmail.com>
Date:   Sat, 26 Oct 2019 20:27:52 +0300

distance between airports in poles

Diffstat:
MMTM/task4-straipsnis/README.md | 17+++++++++++++++++
1 file changed, 17 insertions(+), 0 deletions(-)

diff --git a/MTM/task4-straipsnis/README.md b/MTM/task4-straipsnis/README.md @@ -230,6 +230,23 @@ LIMIT 15; Grise Fiord Airport | Canada | +76.4261,-82.9092 ``` +**Atstumas tarp šiauriausio ir piečiausio oro uosto?** + +``` +SELECT + to_char( + st_distance ( + (SELECT geom FROM airports WHERE name = 'South Pole Station Airport'), + (SELECT geom FROM airports WHERE name = 'Alert Airport'), + TRUE + )/1000, + '99999.99') AS km; + + km +----------- + 19168.26 +``` + Pabaigai --------