Construct and execute a sql query

Assignment Help Business Management
Reference no: EM131992824

CRITICAL THINKING ASSIGNMENT

For this Critical Thinking Assignment, you will complete the hands-on activity, Project 5-1: Creating Databases and Tables, based on p. 195 of the MCSA guide to Microsoft® SQL server 2012 textbook.

This Critical Thinking Assignment requires you use the SQL Server instance named SQLSERVERHOA, and the HandsOnOne database and tables you created in Modules 1 and 3, respectively. The objective of this activity is to hone your skills at manipulating data using SQL DML statements. Use the Query Editor throughout this activity.

  1. Construct and execute INSERT SQL statements to add the sample data in the following tables to the Customer and Address tables in the HandsOnOne database:

Additional Sample Data for Customer Table

CustomerID       CustomerName CustomerAddressID

1 Western Supply Company 1

2 Nick Harper 3

3 Alice Harper 3

4 Abacus Consulting 4

Additional Sample Data for the Address Table

AddressID Street City State Zip Code

1 2400 Broadway Drive Missoula MT 59802

2 320 21st Street Billings MT 59101

3 439 Skyline Blvd Denver CO 80002

4 56 Park Avenue New York NY 10001

  1. Construct and execute a SQL query to list all customers with their corresponding cities and states. The list should be sorted in ascending numerical order by ZIP code, followed by customer name alphabetically. Take a screenshot of the Query Editor after you have executed this SQL command to show that it was completed successfully.
  2. Construct and execute a SQL Query to list the Street, City, State, and Zip Code of all addresses that do not have a customer associated with them. Take a screenshot of the Query Editor after you have executed this SQL command to show that it was completed successfully.
  3. Construct and execute a SQL query to count the number of customers in each state. The list should be ordered by the number of customers in descending order, then by zip code in ascending order. Take a screenshot of the Query Editor after you have executed this SQL command to show that it was completed successfully.
  4. Construct and execute a SQL query to change Alice Harper's address to 320 21st St, Billing, MT 59101. Take a screenshot of the Query Editor after you have executed this SQL command to show that it was completed successfully.
  5. Construct and execute a SQL query to list the full names of all customers who have Harper in their name. Take a screenshot of the Query Editor after you have executed this SQL command to show that it was completed successfully.

Deliverable

After you have completed these steps, submit a single MS Word document that contains the screenshots and the written report. Insert all of the screenshots into the document, label each of them clearly, and include the information for the report below the screenshots.

Reference no: EM131992824

Questions Cloud

What would be your plan and specific action steps : How do you handle this situation? What would be your plan and specific action steps to reach the best possible outcome for the client, DC&H.
Reduce investment volatility while increasing invest return : How can investment correlation be used to reduce investment volatility while increasing invest return?
Western digital vis and dashboards : What are the basic benefits provided by Western Digital's VIS and dashboards?
Write out research questions and hypotheses for the study : This assignment is to write out your research questions and hypotheses for the study - The Red Cross International's ‘East Africans for South Sudan'.
Construct and execute a sql query : Construct and execute a SQL query to list all customers with their corresponding cities and states. The list should be sorted in ascending numerical
Write up a summation of what you found when comparing : Write up a summation of what you found when comparing storage devices (SSD and HDD) and highlight where there are strengths and weaknesses of those devices.
Prepare and effectively defend legal responsible decisions : Analyze the leadership strategies that improve organizational effectiveness in a global environment.
Sell at split-off or process further decision-relevant costs : Betram Chemicals Company processes a number of chemical compounds used in producing industrial cleaning products.
What are the three types of muscle tissue : What are the three types of muscle tissue? Differentiate between them with regards to structure, location in the body, and function

Reviews

Write a Review

Business Management Questions & Answers

  Frequently misfiling patient charts

You have noticed that Jill, the newly hired office receptionist, has been frequently misfiling patient charts.

  Explain in details the value chain of eharmony by using

Explain in details the value chain of eHarmony by using : VRI and Value Chain Analysis?

  Some of the marketing initiatives of windowswear

What are some of the Marketing Initiatives of WindowsWear Inc. and why is it important to the company?

  Prepare and post your cultural competence development plan

Post your draft by mid-week, preferably Wednesday, so that you have time to incorporate changes from feedback before submitting your Cultural Competence Development Plan Draft in this unit's assignment. The draft is due at the end of this week.

  What are the implications for businesses

What are the implications for businesses that wish to operate within countries that have not agreed to this platform from the UN?

  Designing the space

Visit and take a tour of the sport facility you located. Identify what you think the architect did incorrectly when designing the space.

  Non rational escalation

The first question is by identifying the possible original decisions, the person(s) who could make it, and the person(s) who may escalate the commitment to that decision.

  Describe the importance of documentation

Describe the importance of documentation when administering discipline. What do you feel are the best, but easiest, ways to document and meet legal requirements

  Microsoft has been a giant in the software industry

Microsoft has been a giant in the software industry. Can we define Microsoft as a monopoly? Please explain.

  What is a communication network

What is a communication network and how does it work?

  Important information about internal and external growth

important information about internal and external growth strategyis focusing on stability really a strategy or is it

  What is the probability he gets exactly 3 hits

If he comes to bat 4 times in a game, what is the probability he gets exactly 3 hits?

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