How do I create Composite primary key in My SQL

Viewed 17

I am trying to create a composite primary key in a project the attributes are here

  1. Salaryid
  2. Month
  3. Year

These are the attributes of composite PK if only year is repeated but month and id are not repeated so is it a right composite PK or not?

0 Answers
Related