Question: BONUS QUESTION NO. 1: MANDATORY/ OPTIONAL/ (8 POINTS) Create an EER model for a car agency where only new cars are sold. The specifications are

 BONUS QUESTION NO. 1: MANDATORY/ OPTIONAL/ (8 POINTS) Create an EERmodel for a car agency where only new cars are sold. The

BONUS QUESTION NO. 1: MANDATORY/ OPTIONAL/ (8 POINTS) Create an EER model for a car agency where only new cars are sold. The specifications are as follows: The agency sells three types of cars; SUV (Jeep), trucks and motorcycles. Each type has price, model and an id. Additionally, SUV is described by number of seats, the truck is described by its capacity (Tonnage) and motorcycles by the size of the motor. Each car is sold by an employee. The employee has an id and a name. The company keeps track of customers. Each customer has an SSN, name and address. The address includes city and street name and apartment/house number. State any assumptions you make. Given the following database schema, write relational algebra (not SQL) expressions for the questions below: STUDENT(Ssn, Name, Major, Bdate) COURSE(Course#, Cname, Dept name) ENROLL(Ssn, Course#, Year, Semester, Grade) 1. List names of students who are/were enrolled in 3 courses or more. 2. Retrieve the names of students who got at least one A during their study. 3. Retrieve the names of all students who took courses offered by CS department. 4. List course names that were not offered at all. 5. List the course names and the years when they were offered. Include those that have never been offered

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!