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

  Caselet on michael porter’s value chain management

The assignment in management is a two part assignment dealing 1.Theory of function of management. 2. Operations and Controlling.

  Mountain man brewing company

Mountain Man Brewing, a family owned business where Chris Prangel, the son of the president joins. Due to increase in the preference for light beer drinkers, Chris Prangel wants to introduce light beer version in Mountain Man. An analysis into the la..

  Mountain man brewing company

Mountain Man Brewing, a family owned business where Chris Prangel, the son of the president joins. An analysis into the launch of Mountain Man Light over the present Mountain Man Lager.

  Analysis of the case using the doing ethics technique

Analysis of the case using the Doing Ethics Technique (DET). Analysis of the ethical issue(s) from the perspective of an ICT professional, using the ACS Code of  Conduct and properly relating clauses from the ACS Code of Conduct to the ethical issue.

  Affiliations and partnerships

Affiliations and partnerships are frequently used to reach a larger local audience? Which options stand to avail for the Hotel manager and what problems do these pose.

  Innovation-friendly regulations

What influence (if any) can organizations exercise to encourage ‘innovation-friendly' regulations?

  Effect of regional and corporate cultural issues

Present your findings as a group powerpoint with an audio file. In addition individually write up your own conclusions as to the effects of regional cultural issues on the corporate organisational culture of this multinational company as it conducts ..

  Structure of business plan

This assignment shows a structure of business plan. The task is to write a business plane about a Diet Shop.

  Identify the purposes of different types of organisations

Identify the purposes of different types of organisations.

  Entrepreneur case study for analysis

Entrepreneur Case Study for Analysis. Analyze Robin Wolaner's suitability to be an entrepreneur

  Forecasting and business analysis

This problem requires you to apply your cross-sectional analysis skills to a real cross-sectional data set with the goal of answering a specific research question.

  Educational instructional leadership

Prepare a major handout on the key principles of instructional leadership

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