query with table name prefix and sufix
Merge pull request #39 from grubster/master

Added support to table prefix and sufix