This statement creates the course table with attributes courseld, subjectld, courseNumber, title and numOfCredits. Each attribute has a data type that specifies the type of data stored in the attribute. char(5) specifies that courseld consists of five characters. varchar(50) specifies that title is a variant-length string with a maximum of fifty characters. Integer specifies that courseNumber is an integer. The primary key is courseId.
The table Student and Enrollment can be created as follows: