Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask DBMS Expert


Home >> DBMS

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:
    • CustomerNumber (AutoNumber, Primary Key, required)
    • FirstName (Text(25), required)
    • LastName (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:
    • InvoiceNumber (Number-Long Integer, required, Primary Key)
    • CustomerNumber (Foreign Key, Number-Long Integer, Required)
    • DateIn (Date/time, required)
    • DateOut (Date/time)
    • TotalAmount (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:
    • ItemNumber (AutoNumber, Primary Key, required)
    • InvoiceNumber (Foreign Key,Number-LongInteger, required)
    • Item (Text(50), required)
    • Quantity (Number-Long integer, required)
    • UnitPrice (Currency, required)
  • n 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 this01CustomerPhone-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 As04AverageTotalAmount.
    • 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 this05CustomersTotalAmountGreaterThan100.
    • 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 this06CustomerLastFirstNamesConcantenated.
    • 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 this07FirstLastNamesDressShirtSortedLastName) and then by first name in the descending order. Titled this08FirstLastNamesDressShirtSortedFirstNameDescending.
    • 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 this09FirstLastNamesDressShirtSortedLastNameWithTotal) and then by first name in the descending order.  Titled this10FirstLastNamesDressShirtSortedFirstNameDescending
    • Calculate the average total amount. Titled this 11AverageTotalAmount.

DBMS, Programming

  • Category:- DBMS
  • Reference No.:- M91373551
  • Price:- $70

Guranteed 36 Hours Delivery, In Price:- $70

Have any Question?


Related Questions in DBMS

Question 1 what isdata-manipulation language dml there are

Question: 1. What isData-Manipulation Language (DML)? There are four types of access in DML, explain each one. 2. Assume we have a Library Database consists of the following relations: author(author_id, first_name, last_ ...

The groceries datasetimagine 10000 receipts sitting on your

The groceries Dataset Imagine 10000 receipts sitting on your table. Each receipt represents a transaction with items that were purchased. The receipt is a representation of stuff that went into a customer's basket. That ...

Sql injection on a searchthe way search performs its task

SQL injection on a search The way Search performs its task is by executing the following query (in a php script):          $var=stripslashes($_POST['search']);          $query = "SELECT username from lab1_login where use ...

Question create an erd for the following scenario once you

Question: Create an ERD for the following scenario. Once you submit you will get access to the correct way to create the ERD. Please watch the video and correct any errors in your submission and resubmit. A small company ...

Question 1 describe 1nf 2nf 3nf2 explain why 4nf is a

Question: 1: Describe 1NF, 2NF, 3NF. 2: Explain why 4NF is a normal form more desirable than BCNF. The response must be typed, single spaced, must be in times new roman font (size 12) and must follow the APA format.

Data model development and implementationpurpose of the

Data model development and implementation Purpose of the assessment (with ULO Mapping) The purpose of this assignment is to develop data models and map Database System into a standard development environment to gain unde ...

Question suppose we have two kinds of doctors hospital

Question : Suppose we have two kinds of doctors: hospital doctors and family physicians. In addition to the doctor's id number, name, specialty, and years of experience, we want to record the hospital name for the hospit ...

Question find at least two academic sources that describe

Question: Find at least two academic sources that describe the movement of Enterprise resource planning (ERP) activities to the cloud. Discuss the types of ERP activities that can be conducted in the cloud and the pros a ...

Backgrounda new training organization called abc

Background A new training organization called ABC TechTraining is opening soon and they have approached you to help design their new database. They have just completed the refurbishment of the premises and are now lookin ...

You are responsible for keeping track of meal expenses for

You are responsible for keeping track of meal expenses for ten employees while at a business lunch to which your employer has invited you to attend. Write an algorithm that inputs the lunch costs for each the ten employe ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As