COMP 430 - DBMS Integration for Car Rental Operations Assignment

Download Solution Order New Solution

Assignment Task

Fast is a new car rental company that just started and is growing fast in several cities. The general manager decided to use a DBMS to help track the daily operations. Consider the following relation that links between the city where a branch is located, the offered car make and type, the number of cars available, the earliest date a car is available and the daily rental cost for the particular car make and type.

BranchCars

BranchCity

Make

Type

NrAvail

EarliestAvail

DailyRent

Chilliwack

Toyota

4Dr Sedan

4

16/12/2023

$19

Chilliwack

Toyota

2Dr Sport

2

11/11/2023

$44

Abbotsford

BMW

2Dr Sport

3

21/09/2023

$80

Abbotsford

Mazda

2Dr Sport

2

11/11/2023

$80

Langley

Mercedes

4Dr Sedan

2

30/11/2023

$85

Surrey

Toyota

4Dr SUV

4

01/11/2023

$85

Abbotsford

Toyota

4Dr SUV

1

10/10/2023

$20

Surrey

Jeep

4Dr SUV

1

10/10/2023

$66

Langley

Lincoln

Limousine

1

09/11/2024

$290

  • Write the result of the following expressions then translate them into SQL where specified:
    • πMake (BranchCars)
  • σType=’4Dr SUV’ OR DailyRent<50>

BranchCity

Make

Type

NrAvail

EarliestAvail

DailyRent

Chilliwack

Toyota

4Dr Sedan

4

16/12/2023

$19

Chilliwack

Toyota

2Dr Sport

2

11/11/2023

$44

Surrey

Toyota

4Dr SUV

4

01/11/2023

$85

Abbotsford

Toyota

4Dr SUV

1

10/10/2023

$20

Surrey

Jeep

4Dr SUV

1

10/10/2023

$66

  • πBranchCity (BranchCars) - πBranchCity (πBranchCity (BranchCars)x πMake (BranchCars)-

πBranchCity,Make (BranchCars))

  • Write a relational algebra expression and the corresponding SQL query for

each of the following:

  • List the branches where more than 2 cars are available before 12/12/2023
  • List the branches that offer more than one Type of car. 
  • List the average daily rent for each car Type. 
  • List pairs of branches which offer similar car Makes regardless of Type, availability date or number of available cars . (20 points) 
  • Find the branch that offers the cheapest vehicle. 

This It Computer Science have been solved by our PhD Experts at My Uni Paper. Our Assignment Writing Experts are efficient in providing a fresh solution to this question. We are serving more than 10000+ Students in Australia, the UK, and the US by helping them to score HD in their academics. Our Experts are well-trained to follow all marking rubrics and referencing styles.

Be it a used or new solution, the quality of the work submitted by our assignment experts remains unhampered. You may continue to expect the same or even better quality with the used and new assignment solution files respectively. There’s one thing to be noticed you could choose one between the two and acquire an HD either way. You could choose a new assignment solution file to get yourself an exclusive, plagiarism (with free Turnitin file), expert quality assignment or order an old solution file that was considered worthy of the highest distinction.

Get It Done! Today

Country
Applicable Time Zone is AEST [Sydney, NSW] (GMT+11)
+

Every Assignment. Every Solution. Instantly. Deadline Ahead? Grab Your Sample Now.