Navajas y herramientas

PRODUCTOSPHPSELECT * FROM item where nm=0 and inventario=1 and (genero="M" or genero="X") and (actividad="152" or actividad2="152" or actividad3="152") order by id desc LIMIT 0, 20