Database Backend

The place to discuss creating, porting and modifying Celestia's source code.
Topic author
marc
Posts: 426
Joined: 13.03.2002
With us: 22 years 8 months
Location: Outback Australia

Database Backend

Post #1by marc » 13.02.2003, 09:29

A taste of what im working on.


SELECT hip,hd,RA,declination,parallax,absoluteMagnitude,parallaxError,starType,spectralClass,spectralSubClass,luminosityClass FROM star WHERE (declination > 70 AND distFromSol>170 AND distFromSol<500) OR HIP = 0

Image

Image

Image

Image


SELECT hip,hd,RA,declination,parallax,absoluteMagnitude,parallaxError,starType,spectralClass,spectralSubClass,luminosityClass FROM star WHERE (declination > 80) OR HIP = 0

Image


And finally all the stars that have a planet with a breathable atmosphere.
SELECT hip,hd,RA,declination,parallax,absoluteMagnitude,parallaxError,starType,spectralClass,spectralSubClass,luminosityClass FROM star WHERE breathable > 0 OR HIP = 0


Image

again with every other star
Image

Return to “Development”