shop.sqlの
sql
1create table purchase_detail ( 2 purchase_id int not null, 3 product_id int not null, 4 count int not null, 5 primary key(purchase_id, product_id), 6 foreign key(purchase_id) references purchase(id), 7 foreign key(product_id) references product(id) 8);
の
count int not null,
の
countとは何なんでしょうか?
回答2件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。