Going back to school is easier said than done..
This was posted to an older thread earlier but I don't think it got any attention. Your help is appreciated
Professor requires we create a simple database and specified what are to be the primary keys and relationships etc.
I have created the four tables and established the neccessary one to many and many to one relationships between primary keys in the tables with the exception of one which tells me the relationship is "indetermin ate" (originally there was no unique index found for the referenced field of the primary table) I am trying to establish the relationship between two primary keys (as instructed).
Course
CLassID, pk
Name
Credit_Hours
Catalog_Descrip tion
(one to many relationship est. between ClassID and ClassID in the next Table)
ClassOffering
ClassID,pk
Section,pk
Professor
(More, etc)
(One to many relationship established okay here between ClassID to ClassID but trying to establish a one to many relationship between Section in the ClassOffering table to the Section in ClassStu table creates new tables "ClassStu_1 , CLassStu_2"in the relationship diagram. What am I doing wrong?
ClassStu
CLassID,pk
Section,pk
StudentID,pk
(Many to one relationship created okay here between StudentID and StudentID in next table)
Student
StudentID,pk
Name
Major
Class
GPA
This was posted to an older thread earlier but I don't think it got any attention. Your help is appreciated
Professor requires we create a simple database and specified what are to be the primary keys and relationships etc.
I have created the four tables and established the neccessary one to many and many to one relationships between primary keys in the tables with the exception of one which tells me the relationship is "indetermin ate" (originally there was no unique index found for the referenced field of the primary table) I am trying to establish the relationship between two primary keys (as instructed).
Course
CLassID, pk
Name
Credit_Hours
Catalog_Descrip tion
(one to many relationship est. between ClassID and ClassID in the next Table)
ClassOffering
ClassID,pk
Section,pk
Professor
(More, etc)
(One to many relationship established okay here between ClassID to ClassID but trying to establish a one to many relationship between Section in the ClassOffering table to the Section in ClassStu table creates new tables "ClassStu_1 , CLassStu_2"in the relationship diagram. What am I doing wrong?
ClassStu
CLassID,pk
Section,pk
StudentID,pk
(Many to one relationship created okay here between StudentID and StudentID in next table)
Student
StudentID,pk
Name
Major
Class
GPA
Comment