Question
Use the information below to create tables for a databse in SQL: 1. The database keeps information of each professor, including the social security number,
Use the information below to create tables for a databse in SQL:
1. The database keeps information of each professor, including the social security number, name, address, telephone number, sex, title, salary, and college degree. The address includes street address, city, state, and zip code. The telephone number includes the area code and 7 digit number.
2. Each department has a unique number, name, telephone, office location, and a chairperson who is a professor.
3. Each course has a unique number, title, textbook, units. Each course also has a set of prerequisite courses. Each course is offered by a department.
4. Each course may have several sections. Each section has a section number that is unique within the course, a classroom, meeting days, a beginning time, an ending time, a number of seats. Each section is taught by a professor.
5. The database keeps student records, including the campus wide ID, name, address, and telephone number. Each student majors in one department and may minor in several departments. The name includes first name and last name.
6. The database keeps enrollment records. Each record has a student, a course section, and a grade.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started