Answered step by step
Verified Expert Solution
Question
1 Approved Answer
SSB would like for you to perform a detailed analysis of data contained in SAP using Access. Accordingly, the SAP database administrator has created the
SSB would like for you to perform a detailed analysis of data contained in SAP using Access. Accordingly, the SAP database administrator has created the attached data mart for you to use. The data mart is in a small subset of the overall data contained in SAP and has been sent to you as an Access database. The database contains sales orders for July of 2012 along with employee, customer and product information. To analyze the data, you will need to understand relational databases and create queries to find and extract the data of interest.
Creating Queries using SQL
SSB would like for you to generate several queries using the SQL "Query Design" feature in Access. The queries are designed to provide an overview of the data stored in the data mart and techniques for answering specific questions about customers, products, and employees.
Query 1 - Employee List
Design a query to list all employees in the organization. The query should display the following information: employee ID, employee first name, employee last name, employee address, employee salary, department name, and region name. After executing the query and verifying the query works correctly, save the query as "Query1".
Query 2 - Sales Representative List
Design a query to list all sales people in the organization. The query should display the following information for the sales people in the organization: employee ID, sales rep first name, sales rep last name, sales rep address, sales rep salary, sales rep department name, sales rep region name. We assume Everyone in the "Sales" department are sales people. After executing the query and verifying the query works correctly, save the query as "Query2".
Query 3 - Customer List
Design a query to list all customers in alphabetical order by customer last name. The query should display the following information: customer ID, customer first name, and customer last name. After executing the query and verifying the query works correctly, save the query as "Query3".
Query 4 - Sales Orders in July
Design a query to list all sales orders from 7/3/2012 to 7/14/2012 sorted in ascending order by purchase order date. The query should display the following information: PO date, order ID, product ID, product description, quantity sold, and unit price. After executing the query and verifying the query works correctly, save the query as "Query4".
Query 5 - Finding a Sales Order
Construct a query to list all the products purchased by customer whose last name start with W on July 14th, 2012. The query should display the following information: PO Date, order ID, customer ID, customer first name, customer last name, product ID, product description, quantity sold, and unit price. After executing the query and verifying the query works correctly, save the query as "Query5".
Creating Queries using SQL
SSB would like for you to generate several queries using the SQL "Query Design" feature in Access. The queries are designed to provide an overview of the data stored in the data mart and techniques for answering specific questions about customers, products, and employees.
Query 1 - Employee List
Design a query to list all employees in the organization. The query should display the following information: employee ID, employee first name, employee last name, employee address, employee salary, department name, and region name. After executing the query and verifying the query works correctly, save the query as "Query1".
Query 2 - Sales Representative List
Design a query to list all sales people in the organization. The query should display the following information for the sales people in the organization: employee ID, sales rep first name, sales rep last name, sales rep address, sales rep salary, sales rep department name, sales rep region name. We assume Everyone in the "Sales" department are sales people. After executing the query and verifying the query works correctly, save the query as "Query2".
Query 3 - Customer List
Design a query to list all customers in alphabetical order by customer last name. The query should display the following information: customer ID, customer first name, and customer last name. After executing the query and verifying the query works correctly, save the query as "Query3".
Query 4 - Sales Orders in July
Design a query to list all sales orders from 7/3/2012 to 7/14/2012 sorted in ascending order by purchase order date. The query should display the following information: PO date, order ID, product ID, product description, quantity sold, and unit price. After executing the query and verifying the query works correctly, save the query as "Query4".
Query 5 - Finding a Sales Order
Construct a query to list all the products purchased by customer whose last name start with W on July 14th, 2012. The query should display the following information: PO Date, order ID, customer ID, customer first name, customer last name, product ID, product description, quantity sold, and unit price. After executing the query and verifying the query works correctly, save the query as "Query5".
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Certainly I can help you design these SQL queries for the given tasks Here are the SQL queries for each of the specified tasks Query 1 Employee List s...
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started