RSA folks can jump in here but I do not feel you can do what you want via a querying tool. You can do some things using reports but that's fairly limited. The only other option is the tool used to access the database itself but that is a bad idea.