Find number of items that we offer for sale in each color

Assignment Help Database Management System
Reference no: EM131479814

ASSIGNMENT: DATABASE SYSTEMS PROJECT

This project is about a company called the Merchandise Distribution Company or MDC. MDC buys merchandise from suppliers both American and foreign and sells the merchandise to stores. When the merchandise arrives MDC first stores the merchandise in warehouses and then the sales representatives sell the merchandise to the different stores. The following tables are used in this project.

The "ST" or STORE table has 6 columns and each row describes one of the stores to whom we sell merchandise. Each store is given a unique store number (STORENO) which is the PK of the table. NAME is the next column and is the name of the store. CITY and STATE are the next two columns and tells us the location of the store. MGR_NAME is the name of the manager of the store. COUNTRY is the country where the store is located.

The "I" or ITEM table has 6 columns. The first column is ITEMNO which is a unique number assigned to each item so we can identify it easily. It is the PK of the table. NAME is the next column and is the name of the item. COLOR is the color of the item. WEIGHT is the weight of the item. PRICE is the current price of the item that we sell to stores. DESC is the last column and it is a description of the item.

1. Find the name and number of all stores that have not sold any items that could be supplied by foreign suppliers.

2. Give the name and number of all stores along with the average amount of sales and the total amount of sales as long as there are at least 2 sales for the store.

3. Find the name and number of the sales rep who makes the smallest salary.

4. Find the number of items that we offer for sale in each color.

5. Find the name and number of all items that have no known weight.

6. Create a view that has for each Repno the number of stores in his territory (use table T). Then, using this view write a select statement that finds the Repno of the sales rep who has the most stores in his territory compared to the other sales reps.

7. Find the name and number of all foreign suppliers where the province is unknown and the language spoken has the letter "z" (could be upper or lower) and the name of the supplier does not have the letter "P" (upper) and does not have the letter "t" (lower).

8. Find the name and number of all items that are either supplied by a foreign supplier but not an American supplier or by an American supplier but not by a foreign supplier.

9. Which sales transaction had the most number of different items? Provide the sales transaction number.

Reference no: EM131479814

Questions Cloud

Under circumstances of rapid technological change : How can a company optimize its supply and distribution networks and improved responsiveness to customer needs under circumstances of rapid technological change?
Using a three-period moving average : What is the forecast for November, using a three-period moving average?
Explain the reasons why the company needs a security plan : Reasons why the company needs a security plan. Why an assessment should be performed to determine a baseline for the security in the company?
How many distinct currencies exist around the world today : Visit one of the many websites that lists all of the current exchange rates between different currencies around the world. Try a financial newspaper's site.
Find number of items that we offer for sale in each color : Find the number of items that we offer for sale in each color. Find the name and number of all items that have no known weight.
What are quality costs and how do they emerge : What are quality costs and how do they emerge? Why is it important to understand the cost of quality?
Historical sales for a certain model : The historical sales for a certain model of a single serve coffee maker at a specialty cookware store in units is:
In an effort to maintain logistics costs low : In an effort to maintain logistics costs low, the CEO of Riding Patriot has hired you as consultant for their logistics department,
A discussion of any ethical concerns you might encounter : A revised version of your introduction, research question, background research, and hypothesis. Your revisions must be based on your instructor's feedback.

Reviews

Write a Review

Database Management System Questions & Answers

  Create three use case diagrams for the new billing

Using the Hillside School Case Study and your stage 1, 2, and 3 projects, develop a decision paper that serves as a system "sign-over" document for system deployment and transfer of responsibility for the newly designed and implemented system to t..

  Discuss the costs involved in implementing the database

Using the SafeAssign link in Blackboard to submit your report. Download and print out the FULL report and attach to the appendix at the back of your report. Assignments without the full SafeAssign report will NOT be marked.

  Describe the data breach incident of the data breach

Describe the data breach incident and the primary causes of the data breach. Assess if there are deficiencies in the regulatory requirements and whether they need to be changed, and how they need to be changed.

  Verify your implementation by viewing the data dictionary

Implement the authorization table using any two suitable application models presented - Use the scripts provided to create a schema - Create three different profiles based on the criteria.

  Review of common sql server security issues and solutions

Review the following article titled "Common SQL Server Security Issues and Solutions" located at http://technet.microsoft.com/en-us/magazine/2009.05.sql.aspx

  Produce a set of relations

An ER diagram for the system. Show all entities, relationships, cardinalities and optionalities. Also, include all intersection entities. You must use the Finkelstein methodology as per the study book and tutorials.

  Part a sql queriesuse the classicmodels database

part a sql queriesuse the classicmodels database classicmodels.sql from the itc114 interact resources site.answer the

  A motor vehicle maintenance center wants to enhance its

write a 200- to 300-word short-answer response for the followinga motor vehicle maintenance center wants to improve its

  Describe the purpose of the database

Suppose a local college has tasked you to develop a database that will keep track of students and the courses that they have taken. In addition to tracking the students and courses, the client wants the database to keep track of the instructors te..

  Construct a relational database for leslies auto sales

Vehicle Identification Number, Manufacturer, Model, Year, Sticker Price Leslie' s, including the date of the sale and the negotiated price. Construct a relational database for Leslie's Auto Sales.

  Consider the er diagram that you designed

Consider the ER diagram that you designed for the Prescriptions-R-X chain of pharmacies in Exercise 2.7. De?ne relations corresponding to the entity sets and relationship sets in your design using SQL.

  Which business operations would have to change

Examine the significant ways in which business operations would have to change if concurrency management methods were not available.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd