The purpose of this assignment is to demonstrate query building skills.
For this assignment, you will construct queries using both static and dynamic word problems for each of five scenarios. You will use Microsoft SQL Server 2016 Developer Edition and the content from the AdventureWorks 2016 and Scripts for SQL Server 2016 CTP3 to complete the assignment.
Please note that when SQL queries are run, results are generated in the form of data. This data should be exported and saved to Excel for a visual check of accuracy.
Create a Word document that includes the SQL queries used to explore the database tables, and answer the following questions.
Problem Two:While a stored procedure is an effective method to review a static dataset, you realize the requirements for questions posed to you change frequently. Your manager often will request information specific to a given job title. You realize you need to create a function that allows a variable to be changed in your SELECT statement each time you run it.
Note: To develop the answer to this problem, set the variable to “Design Engineer” and call the Function @JobTitle.
Compile the Excel data file and Word document containing the SQL queries and answers to the questions into a .zip file and submit to your instructor.