What is the difference between SpecPhoto and SpecPhotoAll?
As described above, SpecPhotoAll is a precomputed join between the Best PhotoObjAll and SpecObjAll tables. This includes non-science objects, and a variety of objects many users will not be interested in. The SpecPhoto view includes only those pairs where the SpecObj is a sciencePrimary (see the definition above), and the BEST PhotoObj is a PRIMARY object.