A
A
Albert Kazan2019-05-09 16:33:16
Database design
Albert Kazan, 2019-05-09 16:33:16

How to build a table of orders in an online store?

I imagined for myself how to do this, but I don’t think that my version is correct.
How to enter data about a completed order in the database? Create one line for each item in an order?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Konstantin Tsvetkov, 2019-05-09
@Farrien

Create one line for each item in an order?
Yes. This will be the order item table. And there will also be a table of the order itself, which will be referenced by the first one.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question