alter table favorite change id id int auto_increment;
を実行するとエラーなく終了したのですが、
insert into favorite values(null,1,3);
とすると、nullがダメと怒られます。ちなみに、
favoriteのカラムはid,user_id,product_idから出来ています。
回答1件
あなたの回答
tips
プレビュー
Q&A
解決済
退会済みユーザー
総合スコア0
投稿2018/05/15 16:16
alter table favorite change id id int auto_increment;
を実行するとエラーなく終了したのですが、
insert into favorite values(null,1,3);
とすると、nullがダメと怒られます。ちなみに、
favoriteのカラムはid,user_id,product_idから出来ています。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
退会済みユーザー
2018/05/16 09:08
2018/05/16 09:31
退会済みユーザー
2018/05/17 07:51