How are purchases usually stored in database?
When we are dealing with multiple goods, you don't know how many will need to go into the database at one time.
If just one product was being sold, you could have one table and each transaction would be one row, now, with multiple products do you add a row for each product? and have a Transaction ID next to each product?
How is this usually done?
Thanks.
Tal