MySQL best approach for db normalising, relationships and foreign keys

前端 未结 3 1295
感情败类
感情败类 2021-01-26 04:04

There is an username/password verification step first then the database has following structure

^ is primary key

* uses foreign key


1.StudentDetails table
===         


        
3条回答
  •  粉色の甜心
    2021-01-26 04:23

    It's better to use foreign keys in number format So the Username should be the id of the StudentDetails table.

    Can you put the SQL Query that you had tried to run?

提交回复
热议问题