Add a field named allocation to the part table


1. Assume the Part table has been created, but there are no integrity constraints. Create the necessary integrity constraint to ensure that the only allowable values for the Class field are AP, HW, and SG. Ensure that the PartNum field is the primary key and that the PartNum field in the OrderLine table is a foreign key that must match the primary key of the Part table.
2. Add a field named Allocation to the Part table. The allocation is a number representing the number of units of each part that have been allocated to each customer. Set all Allocation values to zero. Calculate the number of units of part number KV29 currently on order. Change the Allocation value for part number KV29 to this number.
Display all the data in the Part table.
3. Increase the length of the Warehouse field in the Part table to two characters. Change the warehouse number for warehouse 1 to 1a. Display all the data in the Part table.
4. Delete the Allocation field from the Part table. Display all the data in the Part table. 

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: Add a field named allocation to the part table
Reference No:- TGS086701

Expected delivery within 24 Hours