Microsoft access database: DryCleaning

by | Jan 8, 2022 | Assignment

Create a new Microsoft Access database named DryCleaning. Note that Microsoft Access does not support the use of SQL scripts to create databases. In a Microsoft Word document, type the SQL script that you would use to create the database.

Add a table named Customers. In Microsoft Word, type the SQL script that you would use to create the table. Include the following fields:?Customer Number (AutoNumber, Primary Key, required)?FirstName (Text(25), required)? Last Name (Text(25), required)?Phone (Text(12), required)?Email (Text(100))

Add a table named Invoice. In Microsoft Word, type the SQL script that you would use to create the table. Include the following fields:?Invoice Number (Number-Long Integer, required, Primary Key)?Customer Number (Foreign Key, Number-Long Integer, Required)?Date In (Date/time, required)?Date Out (Date/time)?Total Amount (Currency)•Add a table named Invoice_Item. In Microsoft Word, type the SQL script that you would use to create the table. Include the following fields:?Item Number (AutoNumber, Primary Key, required)?Invoice Number (Foreign Key, Number-Long Integer, required)?Item (Text(50), required)?Quantity (Number-Long integer, required)?Unit Price (Currency, required)

Write INSERT statements to add the data provided to the tables. Click here to download the data that needs to be added.•In one Word document (SU_ITS3102_W5_A2_LastName_FirstInitial.docx), paste the SQL statement to meet the following criteria. Put a title above each as stated and save each query with the title name. You will add needed documentation from Part II to this document.

List the phone and last name of all the customers. Titled this 01CustomerPhone-LastName•List the phone and last name of all the customers with the first name “Nikki.” Titled this 02NikkiPhoneLastName•List the phone, first name, and last name of all the customers having phone numbers with “2” and “3” as the second and third numbers, respectively. Titled this 03PhoneWith?23.

Determine the maximum and minimum total amount. Save As 04AverageTotalAmount.

Show the first and last names of all the customers who have had an order with total amount greater than $100.00. Use a subquery and present the results first sorted by last names in the ascending order and then by first names in the descending order. Titled this 05CustomersTotalAmountGreaterThan100.

From the Customers table, concatenate each customer’s last name and first name by using the comma-space-delimited technique; name the virtual column as “Full Name. Titled this 06CustomerLastFirstNamesConcantenated.

Use a subquery to show the first and last name of all the customers who have had an order with an item named “Dress Shirt”. Present the results first sorted by last name in the ascending order (Titled this 07FirstLastNamesDressShirtSortedLastName) and then by first name in the descending order. Titled this 08FirstLastNamesDressShirtSortedFirstNameDescending.

Use a join with a subquery to show the first name, last name, and total amount of all the customers who have had an order with an item named “Dress Shirt”. Present the results first sorted by last name in the ascending order (Titled this 09FirstLastNamesDressShirtSortedLastNameWithTotal) and then by first name in the descending order. Titled this 10FirstLastNamesDressShirtSortedFirstNameDescending

Calculate the average total amount. Titled this 11AverageTotalAmount.

We help you get better grades, improve your productivity and get more fun out of college!!

Homework Answers Online

Free title page

Free reference page

Free formatting

Unlimited revisions

WhatsApp chat

How it works – it’s easy

i

Place your Order

Submit your requirements through our small easy order form. 

Make a payment

The total price of your order is based on the type of assignment, number of pages, academic level and deadline.

i

Order process

We assign the assignment to the most qualified tutor. 

Once it’s complete, we’ll send your assignment to the email provided on the order form, and you can submit it on time.

Achieve academic success with the best online tutors