Se io creo un array con tutti gli id che non devono essere eliminati come devo impostare la query per mysql???

Grazie.