Insert Auto-Generated PK Into Another Table That Uses it as an FK

前端 未结 0 2047
星月不相逢
星月不相逢 2021-02-05 05:24

I have the following tables:

users
  id INT PK
  email VARCHAR

and

user_employers
  user_id INT FK references users.id
  name VARC         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题