【正文】
[1]錢(qián)雪忠 .數(shù)據(jù)庫(kù)原理及應(yīng)用 北京郵電大學(xué)出版社 2020, 8 第二版 [2]Bain server 2020 數(shù)據(jù)倉(cāng)庫(kù)與 Analysis Services 中國(guó)電力出版社 2020 [3]王珊 .數(shù)據(jù)庫(kù)技術(shù)與聯(lián)機(jī)分析處理 北京科學(xué)出版社 1998 ?;竟Σ辉鷮?shí),能實(shí)現(xiàn)的僅僅只有這些,然而實(shí)現(xiàn)的還不 夠好。接著按照要求一步步的做。在課程設(shè)計(jì)過(guò)程中也遇到了困難,但我始終相信只要堅(jiān)持,困難就可以解決我們學(xué)的僅僅是皮毛,還有很多東西需要我們?nèi)ネ诰?,需要我們不斷地?shí) 踐,不斷地自己學(xué)習(xí),以及不斷地發(fā)現(xiàn)問(wèn)題思考問(wèn)題。 ,不斷出現(xiàn)錯(cuò)誤,通過(guò)不斷的調(diào)試、修改,才 取得一丁點(diǎn)成果。 ,查書(shū)了解以及向他人請(qǐng)教。 use [物業(yè)管理 ] go select* from Repairs where RepairID=39。 use [物業(yè)管理 ] go select* from Complains where ComplianID=39。 use [物業(yè)管理 ] go select* from Owners where Sex=39。 use [物業(yè)管理 ] go select* from Houses where HouseStyle=39。 RepairID=39。 ComplainID=39。 Sex=39。 創(chuàng)建索引 use [物業(yè)管理 ] go create nonclustered index wy1 on Houses (HouseID,HouseStyle) go create nonclustered index wy2 on Owners (DoorID,OwnerName) go create nonclustered index wy3 on Repairs (DoorID,RepairCondition) go create nonclustered index wy4on Complains (DoorID,ComplianCondition,ComplainDetails) 按照 HouseStyle=39。20200908) go 報(bào)表管理 create view 報(bào)表管理 as select ,ils from Houses,Owners,Repairs,Complains where = and = and = and =39。,1113,39。,39。,18976537898,39。,39。) 創(chuàng)建維修基本信息表 create table Repairs ( RepairID int not null primary key, RepairName varchar(10)null, OwnerName Varchar(6)not null, Phone char(11) not null, AgentName varchar(6)not null, RepairDetails varchar(20) null, DoorID int foregin key references Houses(DoorID), Repaircondition varchar(10)not null, Date datetime not null ) Insert Repairs values(101,39。,39。,39。,39。,13343323293,1112,39。,39。) insert Complains values(202,39。,39。,’’,39。,18862323432,1111,39。,39。,321198198070627816,18976537898,1113,3,109) go 創(chuàng)建投訴基本信息表 create table Complains ( ComplianID int not null primary key, ComplianName varchar(30) null, OwnerName varchar(10) not null, Phone char(11) not null, DoorID int foregin key references Houses(DoorID) , ComplainDetails varchar(20)not null, Date datetime not null, AgentName varchar