relationships

20sunflower

Registered User.
Local time
Today, 16:42
Joined
Mar 18, 2011
Messages
12
Could someone please check the relationships between these entities? I think I've forgot to include a primary key in the reservations table. I think the primary key should be guest ID. Also, do I need a composite key?

Thanks
 
What entities?
 
I have 3 tables:
guests
rooms
reservations

with the primary key in the guest table as guest ID
with the primary key in the rooms table as room number

do I need a primary key in the reservations table?
 
Zip it and upload it. Or save it as a Jpeg. This was in response to your other post.
 
Zip it and upload it. Or save it as a Jpeg. This was in response to your other post.


How do I do that? Sorry for the dumb question but I don't know. I have the image saved in a word doccument.
 
Use Paint (i.e. Accessories > Pain) and paste the screenshot in there, then Save As (or something like that).

Or

Right-click the word document and Save As > Send to Archive.
 
Use Paint (i.e. Accessories > Pain) and paste the screenshot in there, then Save As (or something like that).

Or

Right-click the word document and Save As > Send to Archive.

Thanks. I've attached it as a JPEG now I think
 

Attachments

  • relationships.JPG
    relationships.JPG
    36.6 KB · Views: 117

Users who are viewing this thread

Back
Top Bottom