SSB would like for you to perform a detailed analysis of data contained in SAP using Access.
Fantastic news! We've Found the answer you've been seeking!
Question:
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".
Related Book For
Modern Database Management
ISBN: 978-0133544619
12th edition
Authors: Jeff Hoffer, Ramesh Venkataraman, Heikki Topi
Posted Date: