Just for your information, a table that has two primary keys which are actually fields from two SEPARATE tables is a joiner table. For example, students and classes. You can have one student in many classes, and a single class with many students. If primary for Classes is CID, and for Students is SID, we'd have a joiner table called Classes_Students as follows
CID SID
1 2
1 1
2 2
3 2
4 1
5 2
6 2
So student 1 has classes 1 and 4, 2 has 1, 2, 3, 5, and 6. Technically these are also FOREIGN keys, so you want to keep them transparent from any rational meaning within the company or organization.
Sam Fullman
Compass Point Media