-2

I am trying to model a database and I have two tables: Cell_Information and Cell_Stats In Cell_Information, Cell_ID is the primary key.

In Cell_Stats, Cell_ID and Timestamp are a composite primary key.

is it possible for Cell_Stats.Cell_ID to be a foreign key while also being part of the composite key?

1 Answers1

0

is it possible for [a particular column] to be a foreign key while also being part of the composite key?

Yes.

That was easy. If you are having trouble making it work, please ask another question.

O. Jones
  • 103,626
  • 17
  • 118
  • 172