Use MySQL
server.
First step: create and use
database called EDU.
Syntax:
CREATE SCHEMA
edu;
USE edu;
Create a
script which will create the tables listed below:
STUDENT(STUDENT_ID,
STUDENT_NAME, MAJOR_ID, DOB, PHONE_NUMBER)
MAJOR(MAJOR_ID,
MAJOR_NAME)
ENROLLMENT(STUDENT_ID,
COURSE_ID, GRADE)
COURSE(COURSE_ID,
COURSE_NAME)
RESPONSIBILITY(FACULTY_ID,
COURSE_ID)
TEACHER(FACULTY_ID,
DEPT_ID, TEACHER_NAME)
DEPARTMENT(DEPT_ID,
DEPARTMENT_NAME)
Start the
script with a series of DROP statements so that as you correct
mistakes you will start fresh each time. To avoid referential
integrity errors, the table drops should be in the opposite...