Ver originalSELECT id FROM tabla WHERE (perido=201309 AND periodo=201310 AND periodo=201311 AND periodo=201312 AND periodo=201401)