Query Database Table Processor