I am having a tuff time figuring this out and I am sure it is super simple. I have a table which list sales and one which lists returns. These are related by a common order number. I would like to see a query of all order numbers, but only the items which have been returned.
My problem is it is replicating the returned line for every line of the original order number. I am attaching a sample database which depicts which I am trying to do. Query 1 shows the data in the wrong format. The screenshot below shows how I would like the output (with the struck out records to be blank)
Any help with this would be greatly appreciated.