You are on page 1of 1

Lab Quiz

• Implement the following tables:

Table Name: students


Primary Key: Id

Id First Name Last Name Code


1 Jimmy Walter SM12
2 Joe Terry SM56
3 Clark Morris SM89

Table Name: Course


Primary Key: CourseId

CourseId Title Credits


1 OOP 4

2 Database 3
3 PT2 3

Table Name: Enrollment


Primary Key: EnrollmentId

EnrollmentId CourseId StudentId Grade


1 2 1 3

2 3 1 3

3 1 2 4

Note: CourseId and StudentId are Foreign Keys.

You might also like