Computer Group in use

Hi all
We have lot of Computer Groups manual and automatic. Not all of them are used but most yes, im trying to understand if is some way to know which groups are in use and where? Maybe it posibale to run some SQL query?
Thanks,
Julia