Cuerdas dinámicas

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