Target race/class macro?

Is there some kind of macro to target specifically one race or one class or a combination of both?
I'm sick of running through Dalaran and targeting every single player for the Dwarf Rogue achievement -.-