-- compare g fluxes across tables
select 
       gra,
       gdec,
       gPSFFlux,
       gKronFlux,
       gApFlux,
       gPSFFluxErr,
       gKronFluxErr,
       gApFluxErr,
       gApFillFac,
       gflxR1,
       gflxR2,
       gflxR3,
       gflxR4,
       gflxR5,
       gflxR6,
       gflxR7,
       gflxR8,
       gflxR9,
       gflxR10,
       gippDetectID
       from StackObjectThin 
       join StackObjectRaw   using (gippDetectID)
       join StackModelFitExp using (gippDetectID)
       join StackModelFitDeV using (gippDetectID)
       join StackModelFitSer using (gippDetectID)
       join StackPetrosian   using (gippDetectID)
       join StackApFlxFull   using (gippDetectID)
       join StackApFlxFullC1 using (gippDetectID)
       join StackApFlxFullC2 using (gippDetectID)
       limit 50
