Hi Vignesh,
Here is the sample script. you can change the expr to suit your purpose.
<delivery>
<targets>
<deliveryTarget>
<targetPart type='query' exclusion='false' ignoreDeleteStatus='false'>
<where>
<condition expr="[@id] IN (id1,id2,id3)"/>
</where>
</targetPart>
</deliveryTarget>
</targets>
</delivery>
Regards,
Amit