generate_results function

Generate Results using Table and Column Metadata