I have a table with a transactionID that has a payment type field for cash and card i.e. ID 1 payment type cash, ID 1 payment type card. These are 2 separate records. How do I create a query where I can identify the ID which has both cash and card payment type? Some ID only have cash; some only have card but some ID have both cash and card payment type.
E.G.
ID Type
1011 Cash
1012 Card
1013 Card
1014 Cash
1014 Card
1015 Cash
I tried putting in Cash and Card in the criteria in the query but it didn't work. I thought it will display all the IDs that have Cash and Card payment type.
Any help is greatly appreciated as I am kind of stuck right now?
Thanks
E.G.
ID Type
1011 Cash
1012 Card
1013 Card
1014 Cash
1014 Card
1015 Cash
I tried putting in Cash and Card in the criteria in the query but it didn't work. I thought it will display all the IDs that have Cash and Card payment type.
Any help is greatly appreciated as I am kind of stuck right now?
Thanks