How does a compound key work
Let say you and another person bought an item from a business and lets say that it had a generator generating different number/letter codes for the customerID and PurchaseID
and you both had the same customerID but not the same PurchaseID
you would need to join the customerID and PurchaseID up to make it unique
this is called the formation of a compound key yung bruddah.
What are the things to know about a compound key?