Você está na página 1de 6

DBMS ASSIGNMENT

Name : Akshada Kaphale Applicantion id :486300

Identify all entity types, attributes, relationship types and in the following case. Hence draw an entity-relationship diagram. An organization makes many models of cars, where a model is characterized by a name and a suffix (such as GL or XL which indicates the degree of luxury) and an engine size. Each model is made up from many parts and each part may be used in the manufacture of more than one model. Each part has a description and an id code. Each model of car is produced at just one of the firm's factories, which are located in London, Birmingham, Bristol, Wolverhampton and Manchester - one in each city. A factory produces many models of car and many types of part although each type of part is produced at one factory only. SOLUTION:

SUFFIX

NAME

ENGINE SIZE

DESCRIPTI ON

CAR MODELS M M
PRODUC ES

ID CODE

PART
MADE _OF

1 1 1 FACTORY
MANUFA CTURE

LOCATIO N

Convert The Given ER Diagrams to Relational Model:

SOLUTION:

PERSON TABLE NAME ADDRESS

JOURNAL TABLE ISBN TITLE

VOLUMES TABLE VOL.NO. ISBN

ISSUES TABLE ISSUE_NO VOL.NO.

SUBSCRIBE TO NAME ISBN INITIAL_DATE TERMINATION_DATE

1ST NORMAL FORM (1NF) CLIENT TABLE: ClientNo CR76 CR56 CName Jay Mehta Bipasha

PROPERTY TABLE: ClientNo PropertyNo CR76 PG4 Paddress 6 East street Camp; Pune 46,Senapati BapatRd,Pune 6 East street Camp; Pune BhelkeNagarKothrud; Pune 46,Senapati BapatRd,Pune rentStart 1-Jul-00 rentFinish 31-Aug-01 rent 350 OwnerNo CO40 O_Name
AvinashBhosale

CR76 CR56

PG16 PG4

1-Sep-02 1-Sep-99

1-Sep-02 10-Jun-00

450 350

CO93 CO40

SandeshShinde AvinashBhosale

CR56 CR56

PG36 PG16

10-Oct-00 1-Nov-02

1-Dec-01 1-Aug-03

370 450

CO93 CO93

SandeshShinde SandeshShinde

2ND NORMAL FORM(2NF) CLIENT TABLE:

ClientNo CR76 CR56

CName Jay Mehta Bipasha

PROPERTY TABLE: PropertyNo PG4 Paddress 6 East street Camp; Pune 46,Senapati BapatRd,Pune BhelkeNagarKothrud;Pune rent 350 OwnerNo CO40 O_Name
AvinashBhosale

PG16 PG36

450 370

CO93 CO93

SandeshShinde SandeshShinde

CLIENT PROPERTY DETAILS:

ClientNo CR76 CR76 CR56 CR56 CR56

PropertyN o PG4 PG16 PG4 PG36 PG16

rentStart 1-Jul-00 1-Sep-02 1-Sep-99 10-Oct-00 1-Nov-02

rentFinish 31-Aug-01 1-Sep-02 10-Jun-00 1-Dec-01 1-Aug-03

3RD NORMAL FORM: CLIENT TABLE:

ClientNo CR76 CR56

CName Jay Mehta Bipasha

PROPERTY TABLE: PropertyNo PG4 Paddress 6 East street Camp; Pune rent 350 OwnerNo CO40

PG16 PG36

450 46,Senapati BapatRd,Pune BhelkeNagarKothrud;Pun 370 e

CO93 CO93

OWNER TABLE: OwnerNo CO40 CO93 O_Name


AvinashBhosale SandeshShinde

CLIENT PROPERTY DETAILS:

ClientNo CR76 CR76 CR56 CR56 CR56

PropertyN o PG4 PG16 PG4 PG36 PG16

rentStart 1-Jul-00 1-Sep-02 1-Sep-99 10-Oct-00 1-Nov-02

rentFinish 31-Aug-01 1-Sep-02 10-Jun-00 1-Dec-01 1-Aug-03