Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

(MMU) has decided to consolidate the functionality of three small overlapping database systems, which support applications for 1) teaching (e.g. instructor assignment and evaluation), for

image text in transcribedimage text in transcribed

(MMU) has decided to consolidate the functionality of three small overlapping database systems, which support applications for 1) teaching (e.g. instructor assignment and evaluation), for 2) registration (e.g. online course status, waiting lists), and for 3) student records (e.g. transcript generation) The resulting new system will support the following enterprise description: Professors and GTAs are assigned to teach the sections of each class being offered in a semester. At the end of the semester, they get a "team rating" (professors and GTAs together get one rating per section, rating is not done on individual). To support the assignment of professors to sections, a record is kept of which class each professor can teach. Classes can have one or more prerequisite classes. Students can take several sections each semester, and receive a grade for taking each section. Students may end up waiting for some sections, and receive a "rank" (determining the order they will be admitted if other students drop). However, no more than 10 students can wait on a class at the same time Note that GTAs are students, however they differ in that they have a salary. All people (e.g. students, professors) are uniquely identified by their social security number. All classes are identified by department name (e.g. "INFS") and course number (e.g. "614") Sections of classes are distinguished by their section number (e.g. "02") Given the above description, do the following: Draw an ER-diagram for the database, identifying the following (i) all the entity sets; (ii) all the relationship sets and their multiplicity; (iui) the primary key for each entity set (and weak entity set, if any) and each relationship set. Invent more attribute(s) for the entity sets if you like 1. 2. Indicate (what and why) feature(s) property(ies) (if any) in the above description that are NOT captured by your ER-diagram, Give 2 examples of the types of reports that can be obtained from the database and state the involved entity sets and/or relationship sets. Each report example must involve at least two entity/relationship sets; (For example, an report can be List all the GTAs who have NOT taken all th that are assigned to teach".) Convert the entity-relationship design (in 1) to a scheme for a relational database List all relation schemes. For each relation scheme, state (i) the name of the relation, (1i) the names of its attributes, (iui) the domain (or data type) of each attribute (iv) the primary key, (v) the foreign key(s); 3. e prerequisite classes for the classes 4. 5. Create an SQL script (and run it on Oracle) to create all the relational tables corresponding to th When you create tables in SQL, for each table e ER d iagram in (1) and insert at least two tuples to each table Indicate its attributes Indicate its primary key Indicate additional uniqueness c Indicate foreign keys if any Indicate NOT NULL constraints if any constraints if any

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

Find y'. y= |x + X (x) (x) X 1 02x+ 2x 1 O 2x + 1/3 Ex 2x +

Answered: 1 week ago