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

ugrizradecflags_r
24.564122.7497121.0403719.4698318.53757180.077418734884-0.4590282252878444503874773745664
24.2014422.8334721.3403920.7183120.18678180.053909946145-0.4892904736115564503874773712912
25.6535122.3199721.1387720.244319.68268180.051387135931-0.4443252208962614503874782101504
23.9040621.7792520.1959719.3987518.87066180.053620822814-0.4291858182291272310346883987439632
25.4841322.8996821.2281919.9461619.22552180.085659433956-0.4386311823068714503874773745664
18.913117.3955816.8250116.6273816.54891180.061071408869-0.4497462560061214503599962947656
19.4663618.4233418.0551117.9241817.86966180.061714937129-0.4413432162172074503599895838720
23.1049722.8199222.4139422.1726421.6451180.05860765109-0.4352645811655664503874773712896
23.5111922.4901821.8477821.5148822.0526180.059289475395-0.4477533892627184503874773712896
15.5697914.4332814.0487213.9125713.88522180.070715322748-0.4732683922715114503599962947656