NOTE: I have moved all my content over to my new site You can find the new version of the post here: https://solutr.com/posts/2015-07-16-when-youre-generating-queries-from-resultsets-of-other-queries/
From Perl/Linux Junior System Administrator to System Automation Engineer in less than 20 years. I am still no developer.