Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask DBMS Expert


Home >> DBMS

ENTERPRISE ACCOUNTING SYSTEMS

Adventure Works Cycles is a large multinational manufacturing company. The company manufactures and sells metal and composite bicycles to North American, European and Asian commercial markets. While its base operation is in Bothell, Washington with 290 employees, several regional sales teams are located throughout their market base.

Adventure Works Cycles uses Microsoft SQL Server to help capture data about their operations including Human Resources, Sales, Purchasing and Production. There are approximately 70 different tables contained within this database.

OBJECTIVE
The objective of this assignment is to use your SQL skills to answer various questions regarding Adventure Works operations.

ASSIGNMENT
You will submit your saved SQL file to blackboard. Please use the SQL Template provided on Blackboard as a template for completing this assignment. Please save this file as your netid and SQL SPR 2018 e.g. mkupch1.SQL 2018.

1) How many different job titles does Adventure Works have?
Table(s): Employee

2) How many employees have each of the job titles listed in question #1?
Table(s): Employee

3) How many total vendors does Adventure Works have?
Table(s): Vendor

4) How many of the vendors names contain the word bike?
Table(s): Vendor

5) Identify the sales person that belongs to each Sales Territory Name. Include the following columns for each Sales Person in the following order and sort by Last Name Ascending:
a. Sales Territory Name
b. Business Entity ID
c. First Name
d. Last Name
e. Sales Person Sales Quota
f. Commission Percentage
g. Bonus
h. Sales YTD
i. Sales Last Year.

Table(s): SalesPerson, Person, SalesTerritory

6) For each Sales Person calculate the following:
a. Total Sales Amt (not including any freight or tax charges)
b. Total Order Count
c. Average Sales Amt
d. Commission Percentage
e. Total Commission Amount (Total Sales Amt X Commission Percentage)
Table(s): SalesOrderHeader, SalesPerson
Note: Format the Total Sales, Average Sales and Total Commission Amount as Currency using the Format Function Format the Commission Percentage as a percent using the Format Function.

7) Identify all Vendors who Adventure Works did not purchase from. Include the following fields:
a. VendorID
b. AccountNumber
c. Name
d. CreditRating
e. PreferredVendorStatus
f. ActiveFlag
Table(s): Vendor, PurchaseOrderHeader

8) Identify all Products who have had a cost change history greater than 2 times?
Table(s): ProductCostHistory

9) Determine the Maximum and Minimum Standard Cost by Each ProductID. Remove any ProductID were the Maximum and Minimum are the same.
Table(s): ProductCostHistory

10) Determine the total sales by Store. Include the following:
a. BusinessEntityID (StoreID)
b. Store Name
c. Sales Person ID
d. Customer ID
e. Total Sales

Table(s): Store, Customer, SalesOrderHeader

Note: Format the Total Sales as Currency using the Format Function. Order the results in Descending order by Total Sales

DBMS, Programming

  • Category:- DBMS
  • Reference No.:- M92779511
  • Price:- $20

Priced at Now at $20, Verified Solution

Have any Question?


Related Questions in DBMS

The case study company received a detailed report from the

The case study company received a detailed report from the ECM consultant with a detailed list of data requirements, tools, and processes that are currently used to manage this data. The chief executive officer (CEO) and ...

Answer the following question explain the difference

Answer the following Question : Explain the difference between a database management system (DBMS) and a database. Are Microsoft Access, SQL Server, and Oracle examples of databases or database management systems (DBMS)?

The relation memberstudentid organizationid roleid stores

The relation Member(StudentId, OrganizationId, RoleId) stores the membership information of student joining organization. For example, ('S1', 'O2', 'R3') indicates that student with Id 'S1' joined the organization with i ...

Question we can sort a given set of n numbers by first

Question : We can sort a given set of n numbers by first building a binary search tree containing these numbers (using TREE-INSERT repeatedly to insert the numbers one by one) and then printing the numbers by an inorder ...

You are responsible for keeping track of meal expenses for

You are responsible for keeping track of meal expenses for ten employees while at a business lunch to which your employer has invited you to attend. Write an algorithm that inputs the lunch costs for each the ten employe ...

Databases assignment - monash library services monlib case

Databases Assignment - Monash Library Services (MonLib) Case Study TASK 1: Data Definition For this task you are required to complete the following: 1.1 - Add to your solutions script, the CREATE TABLE and CONSTRAINT def ...

Stored procedure please create the following stored

Stored procedure. Please create the following stored routines using CPS3740_2017S database using the tables in dreamhome database. xxxx is your email id 1) Implement a stored procedure p3Q21_xxxx to display the Branch ci ...

Suppose that we have a table of house prices and a table of

Suppose that we have a table of house prices and a table of zip codes: • hprices(hid (PK),address,bedrooms,price,zipcode) • zipcodes(zipcode (PK),state) Write a SQL query that finds the average, maximum, and minimum pric ...

The groceries datasetimagine 10000 receipts sitting on your

The groceries Dataset Imagine 10000 receipts sitting on your table. Each receipt represents a transaction with items that were purchased. The receipt is a representation of stuff that went into a customer's basket. That ...

Question create the physical data model for the logical

Question: Create the physical data model for the logical data model that you submitted in IP3. This should include all of the data definition language SQL. Your submission should include all DDL needed to: Create the tab ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As