Question

(MMU) has decided to consolidate the functionality of three small overlapping database systems, which support applications foDraw an ER-diagram for the database, identifying the following (i) all the entity sets; (ii) all the relationship sets and th

0 0
Add a comment Improve this question Transcribed image text
Answer #1

ANSWER:

1. ER Diagram:

teaching_team ? id INT (11) instructor _id VARCHAR(15) ◆ taid VARCHAR(15) ● section_d VARCHAR(5) rating VARCHAR(2) rated on D

2. Online course and evaluation is not captured by the ER diagram because the functional requirements for online course as in how they will be conducted, by whom, how many enrollments, which subjects are not provided. Evaluation is not captured because the grading criteria based on marks and the type of exams are not provided.

3. Two reports that are available:

  • List all students who are waiting on more than on section of a class
  • List all instructors that have received the minimum rating

4. Relation schemas based on MySQL 5.7 :

create database mmc;

use mmc;

create table student(
ssn varchar(15) not null,
name varchar(30) not null,
phone_no varchar(10) not null,
email_id varchar(20) not null,
is_gta tinyint(1) default 0,
primary key(ssn));

create table salary(
student_id varchar(15) not null,
amount decimal(10,2) not null,
foreign key (student_id) references student(ssn));

create table semester(
id int not null auto_increment,
name varchar(10) not null,
primary key (id));

create table subject(
id int not null auto_increment,
name varchar(10) not null,
primary key (id));

create table class(
subject_id int not null,
department_name varchar(10) not null,
course_no varchar(5) not null,
semester_id int not null,
primary key (department_name, course_no),
foreign key (semester_id) references semester(id),
foreign key (subject_id) references subject(id));

create table pre_requisites(
parent_department varchar(10) not null,
parent_course varchar(5) not null,
child_department varchar(10) not null,
child_course varchar(5) not null,
foreign key (parent_department, parent_course) references class(department_name, course_no),
foreign key (child_department, child_course) references class(department_name, course_no));

create table section(
number varchar(5) not null,
department_name varchar(10) not null,
course_no varchar(5) not null,
primary key (number),
foreign key (department_name, course_no) references class(department_name, course_no));

create table instructor(
ssn varchar(15) not null,
name varchar(30) not null,
phone_no varchar(10) not null,
email_id varchar(20) not null,
department_name varchar(10) not null,
course_no varchar(5) not null,
primary key (ssn),
foreign key (department_name, course_no) references class(department_name, course_no));

create table teaching_team(
id int not null auto_increment,
instructor_id varchar(15) not null,
ta_id varchar(15) not null,
section_id varchar(5) not null,
rating varchar(2),
rated_on date,
primary key (id),
foreign key (instructor_id) references instructor(ssn),
foreign key (ta_id) references salary(student_id),
foreign key (section_id) references section(number));

create table enrollment(
id int not null auto_increment,
student_id varchar(15) not null,
section_id varchar(5) not null,
grade varchar(2),
applied_on timestamp default current_timestamp,
enrolled_on timestamp,
completed_on timestamp,
is_waiting tinyint(1) default 0,
rank int not null,
check(rank >= 1 and rank <= 10),
primary key (id),
foreign key (student_id) references student(ssn),
foreign key (section_id) references section(number));

Add a comment
Know the answer?
Add Answer to:
(MMU) has decided to consolidate the functionality of three small overlapping database systems, which support applications...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Create a database ER model using the following information please: A small university is in the...

    Create a database ER model using the following information please: A small university is in the process of creating its first database system, and you are the chief architect of this system. This university does not have majors, faculties, and departments, but it does have programs. A program usually has 5 courses (in real situation, a program usually has much more courses, but to make the test data preparation easier, we set this number as 5), For simplicity, all the...

  • The following are the main entity types of the academic institution database. For each entity type,...

    The following are the main entity types of the academic institution database. For each entity type, we provide some of the corresponding attributes. Use this information in order to: (a) Build an Enhanced E-R diagram; (b) Transform the Enhanced E-R diagram to a relational database. Identify the primary key(s) and the foreign key(s) for each relation. Draw the relational integrality constraints; (c) For each of the relations created, indicate its normal form. If the relation is not in the 3NF,...

  • 1) A university database contains information about professors (identified by emp_id) and courses (identified by course_id)....

    1) A university database contains information about professors (identified by emp_id) and courses (identified by course_id). Professors teach courses. Each of the following situations concerns the Teaches relationship set. For each situation, draw an ER diagram that describes it (assuming no further constraints hold). a) Professors can teach the same course in several semesters, and each offering must be recorded. b) Professors can teach the same course in several semesters, and only the most recent such offering needs to be...

  • Part I. Mapping an (E)ER schema to a relational database schema (46 points) NOTE o Each...

    Part I. Mapping an (E)ER schema to a relational database schema (46 points) NOTE o Each relation sachem should have a primary key (PK) when you answer. • To present the reference table of the foreign key (e.g., FK, FK1, K2), use an arrow. Do not use the relationship cardinality symbols of crow's foot notation in the relational database schema. o It is not required to specify the domain constraint (e.g., data type and length) of each attribute. 1. (12...

  • DATABASE SYSTEMS Project INDIVIDUAL WORK DELIVERABLE #: SUBMISSION DATE No Group Work Allowed Apr...

    DATABASE SYSTEMS Project INDIVIDUAL WORK DELIVERABLE #: SUBMISSION DATE No Group Work Allowed April 8 Introduction to Coursework You have been approached by a University for the design and implementation of a relational database system that will provide information on the courses it offers, the academic departments that run the courses, the academic staff and the enrolled students. The system will be used mainly by the students and the academic staff. The requirement collection and analysis phase of the database...

  • 3 (16) You are hired to build a database for a local association of realtors. The database has to...

    3 (16) You are hired to build a database for a local association of realtors. The database has to contain information about the properties that are for sale in the area, realty agencies and agents, as well as keep track of the history of property sales. In particular, you are told the following about the desired database: o The database has to contain information about the realty agencies. Each agency has an ID, name, address and a phone number The...

  • An IT support organization within a large company wants to develop a relational database to keep...

    An IT support organization within a large company wants to develop a relational database to keep track of its work. We will call users of the organization's service CLIENTs. CLIENTs, as needed, submit requests for help called TICKETs. Each TICKET, in turn, can have multiple PROBLEM ITEMs. There are many SUPPORT SPECIALISTs in the organization. Eventually each PROBLEM_ITEM is assigned to a unique SUPPORT_SPECIALIST. Each SUPPORT SPECIALIST can have multiple PROBLEM ITEMs assigned to him or her. Since PROBLEM ITEMs...

  • 1. Consider the following database. Note that it distinguishes between a course and the class of...

    1. Consider the following database. Note that it distinguishes between a course and the class of that course in a particular year. Courses can have prerequisites (aka a prereq), which is again a course. Person(UPI, givenname, surname) with key UPI Courses(course, title, program) with key course Classes(classnr, course, year) with key classnr Enrollments(UPI, classnr) Grades(UPI, classnr, grade) Prereqs(course, prereq) Teachers(UPI, classnr) With natural foreign key constraints given by common attribute names. 1. List all UPIs of all teachers who teach...

  • Problem 1 Consider the following set of requirements for a university database that is used to...

    Problem 1 Consider the following set of requirements for a university database that is used to keep track of students' transcripts. (a) The university keeps track of each student's name, student number, social security number, current address and phone, permanent address and phone, birthdate, sex, class (freshman, sophomore, -, graduate), major department, minor department (if any), and degree program (B.A., B.S., ...., Ph.D.). Some user applications need to refer to the city, state, and zip of the student's permanent address,...

  • Consider the following set of requirements for a university database that is used to keep track...

    Consider the following set of requirements for a university database that is used to keep track of students' transcripts The university keeps track of each student's name, student number, social security number, address and phone, birthdate, gender, `, and degree program (bachelor, Masters, PhD.). Both social security number and student number have unique values for each student. Each department is described by a name, department code, office number, office phone. Both name and code have unique values for each department....

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT