During a Drush pm-uninstall, is there a way to see what sql queries were run? Is there a way to find out what sql queries were run during a drush pm-uninstall module? The reason I want to find out is because I want to see if certain tables were removed during the uninstall. Sometimes modules like ubercart leave orphaned tables even though you uninstall them. I had to find the hard way after installing and testing a few other modules and see my database tables balloon up.
You could try to adapt the devel query log as Letharion suggested, but that would involve some coding.  I have done similar things (for a different purpose) by using the Mysql General Query Log.  This requires restarting mysqld with an additional parameter, but beyond that minor inconvenience, works pretty well and shows you absolutely everything that's going on with the database.