Hi @DishaSharma ,
If I understood correctly, you need to know what condition you can put in your query activity.
You can put anything like 'campaignCode' is equal to '<code of campaign>', so that you get only those record which you want in the result.
Please write back, if you are facing any other challenge.
Regards,