How do I create a table with a two primary keys of two foreign keys?
问题 create table Machine ( Machine_ID int primary key, Machine_Name varchar(30) Machine_Title varchar(30) ) create table Part ( Part_ID int primary key, Part_Name varchar(30), Part_Description varchar(30) ) //How do I make this table below? create table Machine-Part ( Machine_ID int foreign key references (Machine.Machine_ID), Part_ID int foreign key references (Part.Part_ID) Factory_Note varchar(30); ) Mysql complains there is a problem with syntax? Desired Result: have Table 'Machine-Part' use