I have a little shop and I want to insert my order into the database. For Example:
Order Number: 1
Products:
- Apple, Price: 2$, Amount: 2, Total Price: 4$
- Banane, Price: 3$, Amount: 1, Total Price: 3$
- Orange: Price: 2$, Amount: 2, Total Price: 2$
Total Price: 9$
So I made now in my database a table with 3 rows (order number, products, total price)
But how can I list all my products in my row "products" in my database. Is there something like a subtable in mysql?