Presentation is loading. Please wait.

Presentation is loading. Please wait.

cingular wireless Jennifer Conanan Ilya Dvoiris Saurabh Sangla Tariq Shaikh Nancy Tariga Yenny Usman Wen Wang.

Similar presentations


Presentation on theme: "cingular wireless Jennifer Conanan Ilya Dvoiris Saurabh Sangla Tariq Shaikh Nancy Tariga Yenny Usman Wen Wang."— Presentation transcript:

1

2 cingular wireless Jennifer Conanan Ilya Dvoiris Saurabh Sangla Tariq Shaikh Nancy Tariga Yenny Usman Wen Wang

3 overvieweer diagramcompany profile queries conclusion proposal queriesnormalizationrelational schema Overview Company Profile Proposal EER Diagram Relational Schema Normalization Queries Conclusion

4 overvieweer diagramcompany profile queries conclusion proposal queriesnormalizationrelational schema Company Profile Cingular Wireless is the second largest wireless company in the U.S. Cingular Wireless is a joint venture between the domestic wireless divisions of SBC and BellSouth. SBC owns 60 percent of the company and BellSouth owns 40 percent, based on the value of the assets both contributed to the venture.

5 overvieweer diagramcompany profile queries conclusion proposal queriesnormalizationrelational schema Project Proposal Design a database system for a Cingular Wireless Warehouse in Dublin, California –Keep track of about 50 various electronic components of the transmission boxes –Determine the geographical placement of the transmission boxes

6 overvieweer diagramcompany profile queries conclusion proposal queriesnormalizationrelational schema EER Diagram

7 (0,N) by REFURBISHED represents DISTRIBUTOR made by PRODUCT NEW d from requests is type of includes ORDER INVENTORY ITEM placed by EMPLOYEE ANTENA CABINET has connected to WIRES V3 V4 HI-CAP placed at GEOGRAPHICAL COORDINATES has LOCATION what type OTHER PART REPLACEMENT JOB done at assigned to tests FIELD TECH OTHER WAREHOUSE WORKER uses TRUCK RADIO BATTERY COMBINER SIGNAL AMPLIFIER d d d (1,1) (0,N) (1,N) (0,N) (1,N) (1,1) (0,N) (1,1) (0,N) (2,2) (1,N) (1,1) (1,N) (1,1) (0,N) (1,1) (1,N) (1,1) (1,N) longitude/latitude JID WID RID BID ComID SAID AID CID PID TID NID RID MID DID OID (1,1 ) has (1,1) (0,N) (1,N) d PART TYPE (0,N) (1,N) d MANUFACTURER attached to (0,N) EER Diagram (0,N)

8 overvieweer diagramcompany profile queries conclusion proposal queriesnormalizationrelational schema Relational Schema

9 overvieweer diagramcompany profile queries conclusion proposal queriesnormalizationrelational schema 1 Location LID address city state zip country description period_between_maintenance last_date_of_maintenance X Y 2 Antenna warehouseID type range frequency 3 Battery warehouseID type 4 Location_Of_Part warehouseID LID 5 Cabinet warehouseID type LID Range 6 Combiner warehouseID 7 Distributor DID companyname contactname phone email fax fixedordercost leadtime desc 8 Distributor_Represents_Manufacturer DID MID 9 Employee EID ssn fname lname mname salary hiredate phone email in_out 10 FieldTechSpecialization FTID Specialization 11 FieldTech_Employee EID FTID 12 FieldTechUsesTruck warehouseID FTID mileage 13 FieldTechTestsPart warehouseID FTID 14 Inventory IID warehouseID TimeIn TimeOut 15 Job JID LID FTID starttime endtime 16 Job_Description description specialtool 17 MadeBy warehouseID MID 18 Manufacturer MID name email fax address city state zip country 19 New warehouseID warranty price 20 Order OID EID DID warehouseID date 22 PartReplacement PartReplacedID ReplacingPartID JID 26 Refurbished warehouseID warranty price 24 Product warehouseID MID OID 21 Truck warehouseID make model year lastdateofmaintenance PeriodBetweenMaintenance 23 PartType warehouseID PID DID partname holdingCost length width height 25 Radio warehouseID 27 SignalAmplifier warehouseID 28 V3 warehouseID 29 V4 warehouseID 30 WarehouseWorker EID WID 31 Hicap warehouseID

10 overvieweer diagramcompany profile queries conclusion proposal queriesnormalizationrelational schema Normalization 2 nd Normal Form FD1 FD2 3 rd Normal Form Job JID LID FTID startdate enddate description Job JID LID FTID startdate enddate specialtool description Job_Description specialtool description

11 overvieweer diagramcompany profile queries conclusion proposal queriesnormalizationrelational schema Queries 1.Service coverage 2.Economic Order Quantity 3.Scheduled Maintenance of Location 4.Special tools 5.Field Technician Specialization

12 overvieweer diagramcompany profile queries conclusion proposal queriesnormalizationrelational schema Coverage Query Checks to see if a certain area has Cingular coverage; if it does, lists the Location ID, along with the address and city of all transmission boxes that cover the specified area.

13 overvieweer diagramcompany profile queries conclusion proposal queriesnormalizationrelational schema Coverage Query Identify transmission towers and radius of coverage Identify if any tower(s) provide service to the specified point Calculate the distance between the specified point and each tower

14 overvieweer diagramcompany profile queries conclusion proposal queriesnormalizationrelational schema Coverage Query -4.1 Calculate Distance SELECT LC.LID, (Sqr((LC.X-Xparameter)^2 + (LC.Y-Yparameter)^2)) AS DIST, LC.range FROM LocationsofCabinets AS LC; -4.2 Locations of Cabinets SELECT [Location].[LID], [Location].[X], [Location].[Y], c.range FROM Location, Cabinet AS c WHERE c.LID = [Location].[LID]; -4.3 Coverage SELECT [CD.LID] AS LID,L.address, L.city FROM Location AS L, CalculateDistances AS CD WHERE CD.Dist<CD.Range AND CD.LID = L.LID;

15 overvieweer diagramcompany profile queries conclusion proposal queriesnormalizationrelational schema Coverage Query

16 overvieweer diagramcompany profile queries conclusion proposal queriesnormalizationrelational schema Coverage Query

17 overvieweer diagramcompany profile queries conclusion proposal queriesnormalizationrelational schema Lists the PID, part name, the EOQ, and the current inventory level of each item. Minimizes the amount of orders so that total variable costs required to order and hold inventory are balanced EOQ = 2 * Ordering Cost * Demand Holding Cost EOQ Query

18 overvieweer diagramcompany profile queries conclusion proposal queriesnormalizationrelational schema EOQ Query –2.1 Demand SELECT o.warehouseid, p.pid, p.partname, o.date FROM [order] AS o, parttype AS p WHERE (((o.warehouseid)=p.warehouseid)); –2.2 Fixed Cost SELECT o.warehouseid, p.pid, p.partname, o.date FROM [order] AS o, parttype AS p WHERE (((o.warehouseid)=p.warehouseid)); –2.3 Holding Cost SELECT DISTINCTROW sqr(1/[holdingcost]) AS holding, [pid], [did] FROM parttype; -2.4 Count SELECT count([warehouseid]) AS [count], [pid] FROM demand GROUP BY [pid];

19 overvieweer diagramcompany profile queries conclusion proposal queriesnormalizationrelational schema EOQ Query - 2.4 EOQ PARAMETERS Forms![EOQ]!BeginningDate DateTime, Forms![EOQ]!BeginningDate_plus_one_year DateTime; SELECT DISTINCT PT.PID, (([holdingcost].[holding])*([count].[count])*([fixedcost].[sqrt_fc])) AS EOQ, i.Inventory, PT.PARTNAME FROM holdingcost, demand, parttype AS pt, Fixedcost, INVENTORY_levels AS i, [count] WHERE pt.pid=[demand].[pid] And [holdingcost].[pid]=[demand].[pid] And [holdingcost].[did]=[fixedcost].[did] And [Forms]!EOQ!BeginningDate =[demand].[date] And [count].[pid]=[holdingcost].[pid] And i.pid=[holdingcost].[pid];

20 overvieweer diagramcompany profile queries conclusion proposal queriesnormalizationrelational schema EOQ Query

21 overvieweer diagramcompany profile queries conclusion proposal queriesnormalizationrelational schema EOQ Query

22 overvieweer diagramcompany profile queries conclusion proposal queriesnormalizationrelational schema Scheduled Maintenance Query PARAMETERS Forms![date Dialog]![Date] DateTime; SELECT [lid], [address], [city], [state], [zip], [country], ([LastDateofMaintainence]+[PeriodBtwMain]) AS Scheduled_Date FROM location WHERE [Forms]![date Dialog]!Date>=([LastDateofMaintainence]+[PeriodBtwMain]); Lists locations and their addresses that are scheduled for maintenance by a given date Allows for scheduling of field technicians to be more efficient and to keep proper inventory levels of parts required more maintenance jobs

23 overvieweer diagramcompany profile queries conclusion proposal queriesnormalizationrelational schema Scheduled Maintenance Query

24 overvieweer diagramcompany profile queries conclusion proposal queriesnormalizationrelational schema Scheduled Maintenance Query

25 overvieweer diagramcompany profile queries conclusion proposal queriesnormalizationrelational schema Special Tool Query Lists the special tools needed for each type of job Allows the technician do the job more efficiently by immediately knowing which tools are needed without having to retrieve unnecessary ones. SELECT JD.specialtool FROM jobdesciption AS JD WHERE JobDesc = JD.description;

26 overvieweer diagramcompany profile queries conclusion proposal queriesnormalizationrelational schema Special Tool Query

27 overvieweer diagramcompany profile queries conclusion proposal queriesnormalizationrelational schema Special Tool Query

28 overvieweer diagramcompany profile queries conclusion proposal queriesnormalizationrelational schema FT Specialization Query Retrieve the FT id, last name, first name, email and phone number of those who are qualified to do a specific job Allows warehouse workers to quickly find which technician is able to repair specific parts SELECT E.EID, E.FNAME, E.LNAME, E.email, E.phone FROM employee As E, FieldtechSpecialization AS FTS, FieldTechEmployee AS FTE WHERE FTE.EID=E.EID And FTE.FTID=FTS.FTID And specific = FTS.specialization;

29 overvieweer diagramcompany profile queries conclusion proposal queriesnormalizationrelational schema FT Specialization Query

30 overvieweer diagramcompany profile queries conclusion proposal queriesnormalizationrelational schema FT Specialization Query

31 overvieweer diagramcompany profile queries conclusion proposal queriesnormalizationrelational schema Conclusion Company Profile Proposal EER Diagram Relational Schema Normalization Queries Conclusion

32 Any questions?

33


Download ppt "cingular wireless Jennifer Conanan Ilya Dvoiris Saurabh Sangla Tariq Shaikh Nancy Tariga Yenny Usman Wen Wang."

Similar presentations


Ads by Google