Your SQL command was:
SELECT TOP 10 u,g,r,i,z,ra,dec, flags_r 
FROM Galaxy 
WHERE
 ra BETWEEN 180 and 181 AND dec BETWEEN -0.5 and 0.5
 AND ((flags_r & 0x10000000) != 0)
 AND ((flags_r & 0x8100000c00a0) = 0) 
 AND (((flags_r & 0x400000000000) = 0) or (psfmagerr_r <= 0.2))
 AND (((flags_r & 0x100000000000) = 0) or (flags_r & 0x1000) = 0)

Your query output (max 500,000 rows):

ugrizradecflags_r
22.7845121.462821.1539320.8935621.19361180.0007953402810.3646968889771436755674595819536
22.9535522.2966621.8157121.623121.7485180.0007965549690.3666580790453012310346883995828248
23.1423822.9168221.9019121.4288820.89845180.0021834068170.3401629758711534503874773712896
21.4258220.3628319.4798319.0425818.70147180.0021866801-0.0652209184157864503874773745664
22.4003821.8390620.7720520.0196619.72326180.002187817705-0.2392135072667514503874773712896
23.745422.606421.1220420.2054219.86932180.0023623456640.3319543784045684503874773712896
23.7733822.6958620.776920.2347119.84355180.002552775832-0.2809778240950944503874773745664
22.2664121.0332520.3138219.771519.27945180.003099390181-0.1274791099152324503874773745664
25.1435622.8998921.7424421.1603521.28817180.003528513414-0.1924095724135964503874773712896
22.905523.1605422.4751122.3064422.31093180.0036227141750.3576294909673254503874807300112