I have a table with transactions. My transactions have 3 main fields that I am concerned with: Transaction number, Status, and Acct Number. If a transaction was made and then cancelled it would look like this:
Trans# Status Acct Number
0001 Processed 12345
0001 Cancelled 12345
0002 Processed 12345
Trans 0002 is a new transaction made under that account.
I have to run a query for all of Transactions that have been processed and then canceled on this table. So I would just get:
Trans# Status Acct Number
0001 Processed 12345
0001 Cancelled 12345
I was thinking I could do something like
Select Not Distinct Trans
Fron TransTable
but that does not work. Can someone please assist me with this problem? Thanks
Mike
Trans# Status Acct Number
0001 Processed 12345
0001 Cancelled 12345
0002 Processed 12345
Trans 0002 is a new transaction made under that account.
I have to run a query for all of Transactions that have been processed and then canceled on this table. So I would just get:
Trans# Status Acct Number
0001 Processed 12345
0001 Cancelled 12345
I was thinking I could do something like
Select Not Distinct Trans
Fron TransTable
but that does not work. Can someone please assist me with this problem? Thanks
Mike