- (7.5 points) Create a one-to-many relationship between the Tires and the Customers tables. Enforce Referential Integrity and Cascade Update Related Fields.
- (7.5) Create a one –to –many relationship between Tires and Cars tables. Enforce Referential Integrity and Cascade Update Related Fields.
- (8 pts) Open the Customers table. Change the Data Types, Field Sizes, and Formats to the BEST choices for each of the following FOUR fields. LOOK AT THE DATA IN THE DATASHEET VIEW to decide your choice (assume that all the data entered will be the same type and length)
Customer ID Quantity
Invoice Date (change to medium date)
Invoice Paid
4. 4. (6 points) Make the following changes to the Customers table.
a. Insert a new field between Part ID and Year, called PRICE. Put in the appropriate data type and specify 2 decimal places
b. Make first and last name required fields
(
20 5. (20 points) Create a query named Average Tire Price
-
- Use the fields: Tire Type, Unit Price, and Part ID from the Tires table
- By using an aggregate function group by Tire Type
- Sort ascending order by Tire Type
- Calculate the Sum of the Unit Price and label the column “Price Sum”
- Calculate the Count of the Part ID and label the column “Product Count”
- RUN and save the query
- Adjust the fields in the datasheet view to display the complete field names and records
- ( 24 points) Create a second query named Customer Revenue
- Add these fields from Customers table: Last Name and City. Add these names from the Tires table: Unit Price and Tire Type
- Sort Tire Type in ascending order
- Create a new field/column, labeled Tire Cost in this query. Make Tire Cost equal to the Quantity field multiplied by the Unit Price field
- INCLUDE customers that reside in the cities of Upland, Ontario and Claremont
- Don’t show the Tire Type field in the query
- RUN and save the query
- (12 points) Open the Customer List report and add Conditional Formatting to the report. For all Customer IDs less than 50245 make the font Red and bolded.
- (15 points) Create a form and subform. Select all the field from the Tires table. From the Cars table, select Car ID, Make and Model. Use all the defaults for the layout and grouping. Once the form and subform are created, do a search on the Part ID field for “P475X”. Save the result

