01
CREATE
TABLE
[dbo].[Courses](
02
[CourseID] [
int
] IDENTITY(1,1)
NOT
NULL
,
03
[CourseName] [nvarchar](50)
04
CONSTRAINT
[PK_dbo.Courses]
PRIMARY
KEY
CLUSTERED
05
(
06
[CourseID]
ASC
07
)
WITH
(IGNORE_DUP_KEY =
OFF
ON
[
]
08
09
10
[dbo].[Class](
11
[ClassID] [
12
[ClassName] [nvarchar](50)
13
[PK_dbo.Class]
14
15
[ClassID]
16
17
18
19
[dbo].[Instructor](
20
[InstructorID] [
21
[IstructorName] [nvarchar](50)
22
[PK_dbo.Instructor]
23
24
[InstructorID]
25
26
27
28
[dbo].[InstructorCourses](
29
30
31
[fromtime] [nvarchar](50)
32
[totime] [nvarchar](50)
33
day
] [nvarchar](50)
34
[PK_dbo.InstructorCourses]
35
36
37
38
39
40
[dbo].[Instructor_Class](
41
42
43
[PK_dbo.Instructor_Class]
44
45
46
47
48