All,
I am trying to build a query that will pull only specific records out of a transaction database. I only want to pull data from the database in which product_A and product_B are part of an invoice_id.
Example:
Invoice_id 1:
product_A
Invoice_id 2:
product_B
Invoice_id 3:
product_A
product_B
I only want the data from invoice 3 pulled as it contains both product A and B. Is there a way to do this?
I am trying to build a query that will pull only specific records out of a transaction database. I only want to pull data from the database in which product_A and product_B are part of an invoice_id.
Example:
Invoice_id 1:
product_A
Invoice_id 2:
product_B
Invoice_id 3:
product_A
product_B
I only want the data from invoice 3 pulled as it contains both product A and B. Is there a way to do this?