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

  Validity of the collected data and include the survey report

Describe the easy and difficult aspects of creating and conducting an online questionnaire. Assess the reliability of the collected data and include the survey report. Assess the validity of the collected data and include the survey report

  The instructor reserves the right to use the resources of

the instructor reserves the right to use the resources of turnitin.com to check for plagiarism in your writing

  Perform a functional dependency analysis

Sample data and make any assumptions you need about the company. Make any comments about the approach that you are going to follow, as you see fit - Perform a functional dependency analysis, and include it as part of your deliverables, for every s..

  Write problems and issues related with internet databases

Write down some of problems and issues related with internet databases? Consider security, performance, architecture issues.

  Give an example of a view on emp that would be impossible to

Give an example of a view on Emp that would be impossible to update (auto- atically) and explain why your example presents theupdate problem that it does.

  List all pair of products names which are in same city

List the names of agents that placed an order for customer C003 or customer C006. List all pair of products names that are in the same city, along with their city name.

  Rationale for fragmentation choices is clearly tied

Fragmentation strategy-Rationale for fragmentation choices is clearly tied to the facts in the business case. considerations for horizontal, vertical and mixed approaches were explored.

  Create a database.

Create a database.

  Write benefits of using dbms to manage data in program

Describe briefly what are the main benefits of using DBMS to manage data in program applications involving extensive data access.

  Improve services by using database management systems

A motor vehicle maintenance center wants to improve its services by using database management systems (DBMS) and data mining. What tables are needed in such a database and how can it help improve their 2.2, 3.2services

  Use case diagram for the functional requirements

Analyse the Case Study documents and produce an initial high level functional requirements specification. Document these requirements with.

  Assignment on database and data warehousing design

a design document and a revised project plan. You must submit both sections as separate files for the completion of this assignment. Label each file name according to the section of the assignment it is written for.

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