subject

Given the following database schema for a rental car business. Use SQL to express each of the following queries using a minimum number of operations and tables: CARS= ( Plate Number, Make, Rate, Status) Status= available or null( rented out)
Rate is the daily charge.
Customer=( Ful Name, PhoneNumber, DLNumber, CreditCardNumber)
RentalTranscation= ( TranscationNumber, FullName, PlateNumber, PickUpDate, ReturnDate)
ReturnDate may assume the value null if it hasn’t been returned
Delete any customer from the customer table who does not has a phone number
Update the table CAR by increasing the rate of each Ford car by 20%( the Ford represents the car’s make).
List the PlateNumber and the total revenue. Note that the revenue of a single rental transaction = ( ReturnDate-PickUpDate) *Rate
List the full name who rented out every car (all calls) which has rate <= 10 dollar.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 24.06.2019 01:00
What shows the web address of the page that is currently displayed in the workspace? status window toolbar location bar internet box
Answers: 1
question
Computers and Technology, 24.06.2019 08:30
Why might you choose to create a functional resume
Answers: 1
question
Computers and Technology, 25.06.2019 00:00
Into which of these files would you paste copied information to create an integrated document? a. mailing list b. destination c. source d. data source
Answers: 1
question
Computers and Technology, 25.06.2019 05:40
How to make a negative number positive in excel
Answers: 3
You know the right answer?
Given the following database schema for a rental car business. Use SQL to express each of the follow...
Questions
question
English, 21.10.2020 19:01
question
Mathematics, 21.10.2020 19:01
question
Mathematics, 21.10.2020 19:01
Questions on the website: 13722367