Ver originalSELECT count(registros010) as a, count(registros302) as b, a-bFROM tablaWHERE condiciones