This page contains some general advice about how to search Sloan Digital Sky Survey data with SkyServer.
Here are some things to keep in mind while searching SkyServer:
SELECT ra, dec, u, err_u FROM PhotoObj WHERE ra BETWEEN 180 and 181 AND u > -9999 AND u< 20.0-- instead of just "u < 20.0" AND err_u > -1000 AND err_u< 0.1-- instead of just "err_u < 0.1"Load Query
SELECT z as name, ra, dec FROM specPhoto WHERE z BETWEEN 0.01 and 0.05
SELECT top 100 modelmag_u, modelmag_g, modelmag_r, modelmag_i, modelmag_z, z FROM SpecPhoto WHERE zWarning = 0Load Query