I have been programming for a long time, but I am a relative newbie with SQL.
I have two tables with transactions. One table contains ALL transactions, the second table is a subset of the first with only a specific set of transactions. The columns differ between the two tables, but there is enough relational information for me to match all of the subset transactions with the master transaction table.
In some odd cases the subset transaction is inserted, but the corresponding entry is not added to the master transaction table.
I need to write a query that shows which transactions in the subset table do not appear in the master table.
Can someone help me with this?
Thanks,
Eric
I have two tables with transactions. One table contains ALL transactions, the second table is a subset of the first with only a specific set of transactions. The columns differ between the two tables, but there is enough relational information for me to match all of the subset transactions with the master transaction table.
In some odd cases the subset transaction is inserted, but the corresponding entry is not added to the master transaction table.
I need to write a query that shows which transactions in the subset table do not appear in the master table.
Can someone help me with this?
Thanks,
Eric