You want to find a set of derivatives in one query that match a core structure with substituent variation.
You can create an R-group search in CDD using the Marvin Sketch structure editor. You can also use the editor to create atom lists. Learn more about R-group, and other Markush structure searching directly from ChemAxon.
Follow this link to Youtube to watch the short video from ChemAxon for MarvinJS to see the steps:
https://www.youtube.com/watch?v=PjP5ApgrjSM
If you prefer to read, here are the simple steps from ChemAxon for creating a single attachment point R-group search.