SQL queries and data codes
Assignment: SQL queries and data codes
The purpose of this assignment is to update a previous query and present it in an easily readable format.
For this assignment, continue to assume the role of data analyst at Adventure Works Cycles company.
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 Microsoft Word document that includes the SQL query code used to explore the database tables and answer the following questions.
Using what you have learned, replicate the data found in #MySalesOrderDetailbyDate and #MyProductPriceHistory using a single SELECT statement for each query. Refer to the Topic 5 assignment, “Creating an Entity Relationship Diagram (ERD)” for this information.
Modify the queries completed in the Topic 6 assignment and present it in an easy-to-read format. To do this, write the query in a single SELECT statement without temporary tables, using abbreviations and line spacing.
Karen Berge, a document control assistant at the company, comes to you with a request. Karen wants the titles and file names of all of the documents she has produced and has asked you to generate this information for her. Using what you have learned, produce a query in one statement to give her the information she needs. Note that constructing the query will require some thinking outside the box since the relationships are not well-documented.
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. This Excel file should include the names of all documents Karen has produced.
Add to the Word document you created in Part 1 and include the SQL query code associated with the query you wrote to locate Karen’s documents.
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.
Do you have a similar assignment that you would wish our expert writers to handle for you? Place an order with us on https://assignmentsproficient.com/ and expect the best grades and help from qualified writers