Select p.run,p.rerun,p.camcol,p.field,p.obj,p.ra,p.dec,g,mode,p.status,stripe,strip
From Photoobjall p,field f,segment s
Where
Ra between 320 and 300 and
Dec between 0 and 10 and
G between 18 and 18.2 and
p.fieldid = f.fieldid and f.segmentid = s.segmentid
(and mode=1 for the context dr7)
$11 == 79 && ( ($4 < 18 && $12 == 1) || ( $4 < 12 && $ 12 == 0 ))
The South strip of Stripe 79 from the runsdb consists of objects from run 5655.
The North strip of Stripe 79 from the runsdb consists of objects from run 5640.
We can make a zoom to understand better what happen here.