更新时间:2023-02-25 22:16:37
在将userIds 1
和2
插入USERS_AVATAR
之前,必须首先将它们插入表USERS
中.这就是FOREIGN KEY约束所需要的.
Before inserting userIds 1
and 2
into USERS_AVATAR
, you must first insert them into table USERS
. That is what the FOREIGN KEY constraint is requiring.