Foreign key as Primary key
问题 I designed tables like this: table1: students --------------------- PK id name number ... --------------------- table2: students_score --------------------- PK FK student_id math_score english_score ... --------------------- Question 1 If some students doesn't have scores at all, is it good table design? Question 2 If it's good design, then how can I make FK as PK in MySQL? I can't find out how. Everytime I try to make a relation like above SQLYog says this error: Can't create table 'students