Ver originalSELECT * FROM carpeta WHERE id_permiso!='2' AND (id_carpeta='1' OR id_carpeta='2') ORDER BY id_carpeta ASC;