Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Can you please answer following based on following ERD? [ This is MS Access DB]

ID: 3743077 • Letter: C

Question

Can you please answer following based on following ERD? [ This is MS Access DB]

Create a simple report object showing the details of the each rental activity occurred after 1st July 2018. The details include the customer first name, last name, start hire date, end hire date, and the cost. At the end of report, display the average value of the cost for these rental activities.
Hints:
• Create a query that lists all details needed for a report. If you are unable to formulate this query, then create a report that is based directly on the table(s). [Note: you will not be able to obtain full marks for the report creation if you base your report directly on the table(s) and some criteria are not met in your reports.]
• Use the report wizard to generate a basic report based upon your query [or the table(s) if you were unable to formulate the query].
• Once the report wizard finishes, switch to design view and rename the labels appropriately; for example, change the label ‘StartDate’ to ‘Start Date’.

Explanation / Answer

If you have any doubts, please give me comment...

SELECT FullName AS fullName, StartDate AS StartHireDate, EndDate AS EndHireDate, Cost AS cost

FROM CUSTOMER C, RENTAL R

WHERE C.CustomerID = R.CustomerID AND (StartDate>='07-01-2018' OR EndDate>='07-01-2018');

SELECT AVG(Cost) AS AvgCost

FROM CUSTOMER C, RENTAL R

WHERE C.CustomerID = R.CustomerID AND (StartDate>='07-01-2018' OR EndDate>='07-01-2018');