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

  Write sql statements to calculate average salary

Write SQL statements that do the following: Calculate the average salary for all employees. Calculate the maximum salaries for exempt and non-exempt employees.

  Program that performs mathematical operations

Create a batch file program that performs 4 mathematical operations such as addition, subtraction, multiplication and division.

  Create a sql statement and execute the same in sqlplus

Statistics can be created on tables, indexes columns and as well as on the individual columns. But, if for some reason table or index statistics have not been updated, then this may result in a full table scan.

  Define denormalization of a database schema be used

Under what situations would denormalization of a database schema be used? Give examples of denormalization.

  Retrieve the branch number and units

Create a view named BOOK_INVENTORY. It consists of the branch number and the total number of books on hand for each branch. Use Units as the name of the count of books on hand. Group and order the rows by branch number. Use the view to retrieve th..

  Devise a conceptual model that will best address

Submit the preliminary design of the database. Devise a conceptual model that will best address the scenario you selected for the final project

  How are qbe tools and sql similar

How are QBE tools and SQL similar?- How are they different?- What is a data warehouse? - How does it differ from a database?

  Why might an organization select mysql over sql server

Large-scale database are available on several platforms. Among those are MySQL, SQL Server, and Oracle. Other than cost, why might an organization select MySQL over SQL Server or Oracle

  Create point data from an excel sheet

Create Point Data From an Excel Sheet.Use the database you created in Mapping Assignment Part One to create a point shapefile that you will use for Mapping Assignment Part Three.

  Describing the database systems

Summarize your paper by describing the database systems in your workplace, identifying which database systems and architecture they fall under.

  Develop a database to house college student

Develop a database to house College student and schedule information. The data model should contain the following minimum data structures.

  Creating an er model including entity classes

You will need to start by creating an ER model, including both Entity Classes and attributes. This is to be done in MySQL Workbench

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