You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
6 lines
230 B
MySQL
6 lines
230 B
MySQL
2 years ago
|
CREATE TABLE order_products (
|
||
|
id SERIAL PRIMARY KEY,
|
||
|
quantity INTEGER NOT NULL,
|
||
|
order_id INTEGER NOT NULL REFERENCES orders(id),
|
||
|
product_id INTEGER NOT NULL REFERENCES products(id)
|
||
|
)
|