Question

In: Computer Science

A manufacturing company produces products. The following product information is stored: product name, product ID and...

A manufacturing company produces products. The following product information is stored: product name, product ID and quantity on hand. These products are made up of many components. Each component can be supplied by one or more suppliers. The following component information is kept: component ID, name, description, suppliers who supply them, and products in which they are used. Show table names, primary keys, attributes for each table, relationships between the entities including all constrains required.

Assumptions in your database design:

• A supplier can exist without providing components.

• A component must be associated with a supplier.

• A component must be associated with a product.

• A product cannot exist without components.

Design your database and implement it by providing all the required DDL and DML SQL statement to create the needed database objects and populate the tables with data. Make sure you included all required constraints and appropriates column datatypes.

Submit:

Write the sql code for creating these tables (the DDL statements).

Write query and update DML in SQL that must contain a where condition.

INSERT must populate all columns

Provide at least three statements for each type of DML • All needed constraints. Make sure you name all your constraints.

Solutions

Expert Solution


Related Solutions

A manufacturing company produces two products, which has the following information: Characteristic Product 1 Product 2...
A manufacturing company produces two products, which has the following information: Characteristic Product 1 Product 2 Profit/unit $4 $2 Dept. A hours/unit 1 1 Dept. B hours/unit 2 4 Last month’s production schedule used 400 hours of labor in department A and 950 hours of labor in department B. The management has been experiencing problems during the past six months because of variable monthly department workload amounts. Management would like to develop a production schedule for the coming month that...
consider the following data for two products of gitano manufacturing number id units produced product a...
consider the following data for two products of gitano manufacturing number id units produced product a 11,500 units product b 1300 units direct labor cost (@ $27 per DLH) product a 0.14 DLH per unit product b 0.28 DLH per unit direct materials cost product a $2 per unit product b $2.50 per unit machine setup overhead costs $51,176 materials handling $ 55,000 quality control inspections $79,380 total $ 185,556 round to two decimal places 1. use direct labor hours...
Craylon Manufacturing Company produces two products, X and Y. The following information is presented for both...
Craylon Manufacturing Company produces two products, X and Y. The following information is presented for both products. Selling price per unit X: $40 Variable cost per unit X; 25 Selling price per unit Y $25 Variable cost per unit Y $15 Total fixed cost are $275,000. A) Calculate the contribution margin for each product: B) Calculate the breakeven point in units of both X and Y if sales mix is 3 units of X for every Y. C) Calculate breakeven...
The Grand Company produces three products with the followings costs & selling price: \ Product Name...
The Grand Company produces three products with the followings costs & selling price: \ Product Name Large Medium Small Selling Price per unit $15 20 20 Variable cost per unit 8 10 12 Machine Hours per unit 3.5 2 2.5 Grand has a limit of 20,000 machine hours available per month. The company has a monthly fixed cost $50,000. If there is virtually unlimited demande for each of the products, what is the maximum monthly profit? If the demand for...
Product(p-id, p-name, weight) Retailer(r-id, r-name, city) Sells(r-id, p-id, price)
  Product(p-id, p-name, weight)Retailer(r-id, r-name, city)Sells(r-id, p-id, price) r-id is a foreign key referencing Retailerp-id is a foreign key referencing Product Give a Relational Algebra expression : (IT IS NOT SQL) (a) Find the names of the retailers who are selling the products that have a weight greater than 10 kg.(b) Find the names of the retailers who have never sold a product that has a weight greater than 10 kg.(c) Get the price of the products that have a...
Manlius Company produces a single product. Variable manufacturing overhead is applied to products on the basis...
Manlius Company produces a single product. Variable manufacturing overhead is applied to products on the basis of direct labor hours. The standard costs for one unit of product are as follows: Direct material: 6 ounces at $0.50 per ounce $3.00 Direct labor: 0.6 hours at $30.00 per hour $18.00 Variable manufacturing overhead: 0.6 hours at $10.00 per hour $6.00 Total standard variable cost per unit $27.00 During January, 2,000 units were produced. The costs associated with January’s operations were as...
Manlius Company produces a single product. Variable manufacturing overhead is applied to products on the basis...
Manlius Company produces a single product. Variable manufacturing overhead is applied to products on the basis of direct labor hours. The standard costs for one unit of product are as follows: Direct material: 6 ounces at $0.50 per ounce $3.00 Direct labor: 0.6 hours at $30.00 per hour $18.00 Variable manufacturing overhead: 0.6 hours at $10.00 per hour $6.00 Total standard variable cost per unit $27.00 During January, 2,000 units were produced. The costs associated with January’s operations were as...
Wasp company produces three products with the following information: Product A B C Selling price per...
Wasp company produces three products with the following information: Product A B C Selling price per unit $17 $19 $26 Variable cost per unit $8 $10 $12 Machine-hours per unit (MH/unit) 2 3 4 The company has a limit of 13,800 machine-hours available per month and a monthly fixed cost of $4,000. The demand for each of the products is 2,500 units per month. The company’s goal is to maximize its profitability. Suppose the company can rent a machine that...
Wasp company produces three products with the following information: Product A B C Selling price per...
Wasp company produces three products with the following information: Product A B C Selling price per unit $17 $19 $26 Variable cost per unit $8 $10 $12 Machine-hours per unit (MH/unit) 2 3 4 The company has a limit of 13,800 machine-hours available per month and a monthly fixed cost of $7,500. The demand for each of the products is 2,500 units per month. The company’s goal is to maximize its profitability. Suppose the company can rent a machine that...
Wicha Company produces three products with the following information: Product Good Better Best Selling price per...
Wicha Company produces three products with the following information: Product Good Better Best Selling price per unit $17 $19 $26 Variable cost per unit $8 $10 $12 Machine-hours per unit (MH/unit) 2 3 4 The company has a limit of 14,300 machine-hours available per month and a monthly fixed cost of $35,000. The demand for each of the products is 2,500 units per month. The company’s goal is to maximize its profitability. Suppose the company can rent a machine that...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT