wiki:db/queries/018
Last modified 6 years ago Last modified on 01/31/2013 11:19:00 PM

Find quasars

SELECT objectId,
       uMag, gMag, rMag, iMag, zMag, yMag
       ra, decl
FROM   Object
WHERE  ( ugColor > 2.0 OR uMag > 22.3 )
AND    extendedParameter < 0.2     -- star 
AND    iMag BETWEEN 0 AND 19 
AND    gMag-rMag > 1.0 
AND    ( rMag-iMag < (0.08 + 0.42 * (gMag-rMag - 0.96)) OR gMag-rMag > 2.26 ) 
AND    iMag-zMag < 0.25 

Origin: SDSS (SX-15)