There was an extraneous semicolon, but mostly, I just want to be on the git blame for a line that says "poops".
added support for table name prefixes and suffixes