Skip to content

Instantly share code, notes, and snippets.

Created December 19, 2016 13:20
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save stwalkerster/6c0792714db813486fb0fee18c60b330 to your computer and use it in GitHub Desktop.
select, sys.x, sys.y, sys.z
from stwalkerster_ed_explore.waypoint w
inner join stwalkerster_ed_explore.trip t on = w.trip
inner join stwalkerster_ed_explore.session s on s.trip =
inner join stwalkerster_ed_explore.waypoint nwp on s.nextwaypoint =
inner join stwalkerster_ed_explore.system sys on w.system =
where w.sequence >= nwp.sequence
and w.special in ('v','a')
and = %d
order by w.sequence
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment