Create a new microsoft access database named drycleaning

Assignment Help Database Management System
Reference no: EM13803555

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.

Reference no: EM13803555

Questions Cloud

American hydraulics corporation : National Drilling Company ships its only pump to American Hydraulics Corporation, the manufacturer, for repair. National hires Overland Transport, Inc., to take the pump to American Hydraulics and to return it to National as soon as the repair is ..
Complete the coyne and messina articles analysis : Did the researchers' conclusions make sense, did they answer the research question, and did they appear to flow from the review of the literature?
What kinds of headlines have the editors been giving stories : What kinds of headlines have the editors been giving stories covering this situation? What positions have these articles appeared in front page vs. later page, top vs. bottom of the page?
Illustrates ethical behavior : Identify a news article about a Fortune 500 company and its CEO that illustrates ethical behavior. Is there any evidence that his or her company's productivity (e.g., finances, market share) is related to decisions reflective of ethical leadership..
Create a new microsoft access database named drycleaning : Create a new Microsoft Access database named DryCleaning. 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)
Importance of being earnest : Each reading response should be about one double-spaced page and should answer the following two questions:
Define the experimental and control groups : Method of sample selection - Explanation and identify and define the experimental and control groups?
Discuss what it will take to build a web architecture : Discuss what it will take to build a Web architecture, move an existing Website with minimal downtime, and provide a disaster recovery solution to ensure the site is always available
Autism spectrum disorders-signs and symptoms : After watching the video and reading the Web Resource, "CDC: Autism Spectrum Disorders: Signs and Symptoms," discuss how you as an early childhood professional can use this information to increase awareness and early identification of autism,

Reviews

Write a Review

Database Management System Questions & Answers

  Return a result table sorted by patient name

Return a result table that could be used to produce a report, sorted by patient name or date, for a particular week or after a particular date, or a listing of patient visits for patients assigned to a specific social worker

  Data entities of this enterprise

Consider a student club or organization in which you are a member. What are the data entities of this enterprise? List and define each entity.

  Questions related to normalization

Determine the steps in the development of an effective Entity Relationship Model (ERM) Diagram and determine the possible iterative steps / factors that one must consider in this process with consideration of the HR core functions and responsibili..

  Activity-based costing to assign overhead costs to products

How much overhead cost would be assigned to each of the two products using the company's activity-based costing system

  Limitations of the relational model

Identify and describe three limitations of the relational model and recommend strategies to overcome these limitations.

  Make a spreadsheet to compare e-commerce sites

create a spreadsheet to compare the three identified e-commerce hosting sites and the e-commerce hosting site that you find • prepare a PowerPoint presentation that represents the presentation you would give to management explaining your selection..

  Explain why log records could be written between the begin

Explain why log records could be written between the begin checkpoint and end checkpoint records.

  How does oracle process query

How does Oracle process this query? That is, what does Explain Plan tell you about how the query is processed - how would you recognize that the results were not correct?

  Write a prolog program that implements a family database

Write a PROLOG program that implements a family database for your family. Save it as an ordinary text file named family.pro. Your program should implement the following facts for your immediate family, grandparents, and great-grandparents.

  A county wishes to create a database

A county wishes to create a database to control its local libraries. Each library has a number of employees, one of whom is designated as the manager of the library and is responsible for supervising employees and the general day-to-day management..

  Draw a diagram 0 dfd for the order system

Draw a decision tree that describes the merchandise inventory management process.

  Convert data model to a set of virtual windows

You are to design a prototype for a hospital management system. Design a data model for this system, Convert the data model to a set of virtual windows.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd