Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more ➡
Download
Standard view
Full view
of .
Add note
Save to My Library
Sync to mobile
Look up keyword
Like this
0Activity
×
0 of .
Results for:
No results containing your search query
P. 1
Dbms

Dbms

Ratings: (0)|Views: 68|Likes:
Published by aquaarian
queries for m.tech
queries for m.tech

More info:

categoriesTopics
Published by: aquaarian on Aug 24, 2013
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, DOCX, TXT or read online from Scribd
See More
See less

08/24/2013

pdf

text

original

 
Date:Page-No:
WEEK 1: E-R Model
Analyze the problem carefully and come up with the entities in it. Identify what data has to be persisted in the database. This contains the entities, attributes etc.Identify the primary keysfor all the entities. Identify the other keys like candidate keys, partial keys if any.
The entities for the above company named “Roadway Travels” are as follows
1. Bus2. Ticket3. Passenger 4. Reservation5. Cancellation Now we will identify the attributes for each entity and construct the E-R Model.
1. BUS Entity:
The attributes are:i. Bus_Noii. Sourceiii. Destinationiv. Dep_TimeThe E-R Model is as follows:In the above figure Bus_No is the Primary Key
2. TICKET Entity:
The attributes are:i. Ticket_Noii. Journey_Dateiii. Ageiv. Sexv. Sourcevi. Destinationvii. Dep_Time
 
Date:Page-No:
The E-R Model is as follows:In the above figure Ticket_No is the Primary Key
3. PASSENGER Entity:
The attributes are:i. PNR_Noii. Ticket_Noiii. Nameiv. Agev. Sexvi. PPNoThe E-R Model is as follows:In the above figure PNR_No is the Primary Key and Ticket_No is Foreign Key
4. RESERVATION Entity:
The attributes are:i. PNR_NOii. Journey_Dateiii. No_Of_Seatsiv. Addressv. Contact_Novi. Status
 
Date:Page-No:
The E-R Model is as follows:In the above figure PNR_No is the Foreign Key
5. CANCELLATION Entity:
The attributes are:i. PNR_Noii. Journey_Dateiii. No_Of_Seatsiv. Addressv. Contact_Novi. StatusThe E-R Model is as follows:In the above figure PNR_No is the Foreign Key

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->