下載本文檔
版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認(rèn)領(lǐng)
文檔簡介
PAGEPAGE6《數(shù)據(jù)庫原理與實用技術(shù)實驗》2016年期末大作業(yè)項目任課教師:張云春、劉宇GOAL:Thegoalofthisprojectistoprovidearealisticexperienceintheconceptualdesign,logicaldesign,implementation,operation,andmaintenanceofarelationaldatabaseandassociatedapplications.First,Ishalldescribetheapplication,thenthecategoriesofrequirements,andthensomesuggestionsonhowdeeplyyouneedtogoineachcategory.Arealprojectofthissortwouldrequireasubstantialdevelopmentteamworkingforseveralmonths(ormore).Youwilldothisaloneoverseveralweeks.Ihavechosentogoindividualratherthangroupprojectsbecausethegoalofthisprojectisforyoutogainapersonalappreciationofthedepthandbreadthofissuesthatgointothedesignofadatabaseapplication,ratherthantohave youspecializeinjustoneaspect(andrelyonothersfortherest).TheprojectcangowellbeyondtheminimalrequirementsIoutlineattheend.Iencouragesuchextensions.Theycouldturnintoaseniordesignprojectorotherindependentwork.要求:業(yè)項目報告中的詳細(xì)要求。5張,否則認(rèn)為設(shè)計失敗。20SQLE-R圖(使用專業(yè)工具繪制基數(shù)(cardinality;實體與屬性的基數(shù)可以不寫,但是在分析時必須明確哪NULLE-R轉(zhuǎn)換所對應(yīng)的轉(zhuǎn)換規(guī)則(6條轉(zhuǎn)換規(guī)則。最后,附上相關(guān)的設(shè)計總結(jié)與心得體會。項目相關(guān)內(nèi)容說明PackageDeliveryCompanyDatabaseRequirements:ApplicationdescriptionTheapplicationisdesignedtomanagepackagedeliverycompany(similar順豐,申通,圓通,中通,EMS等).Thecompanyneedstokeeptrackofpackagesshippedandtheircustomers.Tofindoutmoreaboutthisapplication,thinkaboutanyexperiencesyoumayhavehadshippingpackagesandreceivingpackages,andbrowseshipperwebsites.Inourhypotheticalcompany,themanagerassignedtosolicitdatadesignproposalsisnotverycomputerliterateandisunabletoprovideaverydetailedspecification.Hereareafewpointstoconsider:Therearedifferentkindsofservicepossiblybaseduponthetypepackage(flatenvelop,smallbox,largerboxes,etc.),theweightofthepackage,andthetimelinessofdelivery(overnight,secondday,longer).Somecustomershaveacontractwiththeshipperandbilltheirshipmentstoanaccountnumber.Theyarebilledmonthly.Othercustomersareinfrequentcustomersandpaywithacreditcard.Certainshipmentsareprepaid,asismightbethecaseofsomeoneisreturningsomethingthatwaspurchasedbyphoneorInternet(e.g.returningclothesthatdon’tfit,orreturningmalfunctioningelectronics).Forthemostpart,theshippingcompanydoesnotcarewhatisbeingshipped.However,therearecaseswhereitmatters.Someexamplesinclude:hazardousmaterialsinternationalshipments,forwhichacustomsdeclarationthecontentsandtheirvalueisneededThecompanyneedstotrackthetimethecustomerdropsitoff(oritispickedupbythecompany)untilthetimeitisdeliveredandsignedfor.Takealookattheonlinetrackingofferedbyvariousshippingcompaniestogetanideaofhowthisserviceworks.Ifyouarehavingsomethingshippedtoyou,you’llfindyoucangeteverylittledetailofwherethepackageis,whereithasbeen,andtowhereitiscurrentlyheaded.Beyondwhatthecustomersees,thecompanyitselfneedstoknowonwhichtruckorplaneorwarehousethepackageisatanypointintime.Trackingisnotjustan“inthepresent”issue.Thecompanymaywanttolookbackintimeandfindoutwherethepackagewasyesterday,forexample.Itmayalsowanttolookatdatafromthestandpointofatruckorwarehouse.Thereareotheraspectstotheoperationofthecompanybesidespackagetrackingsuchasroutingoftrucksandplanes,theassignmentofstafftothem,etc.Forthisassignment,we’llconsideronlythepackagehandlingandbillingaspectsofthedatabase.基于如上的分析,要求每位同學(xué)給出完整的需求分析,并撰寫“需求分析”文檔。上面的需求有的可以推導(dǎo)出實體、屬性等;有的則可以作為功能語句(如觸發(fā)器、存儲過程、索引等)來實現(xiàn),需要在分析時進行說明。DataGeneration:Forsimplicity,thedesigndoesnotrequireperfectlyrealisticdatasothatyoudonthavetoensurethat.However,youshouldstriveforagooddegreerealisminyourdata.Notethecommentsoncollaborationbelowandthatsharingdatawithothersisacceptableaslongasappropriatecreditisgiventoyoursource.Thefollowingoutlinesmayhelpyouwithyourdesign:E-RModelConstructanE-Rdiagramrepresentingtheconceptualdesignofdatabase.Atminimumyoumustincludealltheentityandrelationshipsetsimpliedbythishandout.Youmaygobeyondtheminimum.Rememberthatthemanagerwhodefinedthespecificationsisnotcomputerliteratesothespecificationsshouldnotbeviewedasnecessarilybeingpreciseandcomplete.Besuretoidentifyprimarykeys,relationshipcardinalities,etc.RelationalModeAftercreatinganinitialrelationaldesignfromyourE-Rdesign,refinebasedontheprinciplesofrelationaldesign(Chapter6).Createtherelations(Tables)inSQLServerdatabase.Createindicesandconstraintsasappropriate.Ifasyourefineyourdesign,youdiscoverflawsintheE-Rdesign,backandchangeit.YourfinalE-Rdesignmustbeconsistentwithyourrelationaldesign.PopulateRelationsIncludeenoughdatatomakeanswerstoyourqueriesinterestingnontrivialfortestpurposes.Atleast20rowsaresupposedtobeinsertedineachtable.(Optional)Youmayfindithelpfultowriteaprogramtogeneratetestdataorcollectdatafromarealpackagedeliverycompany.Queries:Youshouldrunanumberoftestqueriestoseethatyouhaveloadedyourdatabaseinthewayyouintended.Thequerieslistedbelowarethosethatyourclients(themanagersfromthepackagedeliverycompany)findofinterest.Theymayprovidefurtherhintsaboutdatabasedesign,sothinkaboutthemattheoutsetofyourworkonthisproject.Assumetruck9527isdestroyedinacrash.Findallcustomerswhohadapackageonthattruckatthetimeofthecrash.Findallrecipientshadapackageonthattruckatthetimeofthecrash.Findthelastsuccessfuldeliverybythattruckpriortothecrash.Findthecustomerwhohasshippedthemostpackagesinthepastyear.Findthecustomerwhohasspentthemostmoneyonshippingintheyear.Findthecitywiththemostcustomers.Findthosepackagesthatwerenotdeliveredwithinthepromisedtime.Generatethebillforeachcustomerforthepastmonth.Considerseveraltypesofbills.Asimplebill:withcustomer,address,andamountowed.Abilllistingchargesbytypeofservice.Anitemizebillinglistingeachindividualshipmentandchargesforit.Customersliketheirbillstobereadable.WhiletheclientwillacceptarelationaltablecomingfromSQLServerasthebill,itwouldbe tohaveagood-lookingbill.Interfaces(OPTIONAL):Thereareseveraltypesofuserswhoaccessthedatabase,andseveralapplicationsthatrunontheirown.Thedatabaseadministrator(you)mayuseSQLeitherviathelineorSQLDeveloper.Customerserviceneedsalookupapplicationthroughmen
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 公共衛(wèi)生服務(wù)操作流程手冊(標(biāo)準(zhǔn)版)
- 酒店財務(wù)管理手冊(標(biāo)準(zhǔn)版)
- 《公有云技術(shù)與應(yīng)用》課件-4.公有云概念及優(yōu)勢
- 物流倉儲智能化管理方案探討
- 屠宰廠環(huán)境及污水治理方案
- 2025-2030燃料電池汽車產(chǎn)業(yè)鏈上下游協(xié)同發(fā)展研究
- 2025-2030熱氣球行業(yè)市場現(xiàn)狀及發(fā)展前景報告
- 2025-2030湘菜行業(yè)消費者口碑與品牌建設(shè)研究
- 2025-2030湘菜加盟連鎖模式風(fēng)險與收益評估
- 2025-2030消防設(shè)備自動報警系統(tǒng)市場分析競爭格局及投資決策研究報告
- 日文常用漢字表
- QC003-三片罐206D鋁蓋檢驗作業(yè)指導(dǎo)書
- 舞臺機械的維護與保養(yǎng)
- 運輸工具服務(wù)企業(yè)備案表
- 醫(yī)院藥房醫(yī)療廢物處置方案
- 高血壓達標(biāo)中心標(biāo)準(zhǔn)要點解讀及中心工作進展-課件
- 金屬眼鏡架拋光等工藝【省一等獎】
- 《藥品經(jīng)營質(zhì)量管理規(guī)范》的五個附錄
- 試論如何提高小學(xué)音樂課堂合唱教學(xué)的有效性(論文)
- 機房設(shè)備操作規(guī)程
- ASMEBPE介紹專題知識
評論
0/150
提交評論