i have created a database for a room reservation. for this database i'm using mysql phpmyadmin.
Right now it's just have the simple basic data that needed in the database. I hope someone can commeneted wether this database relationship look good or not...(eventhough i'm using mysql, i just make the ERD in access so that i can see relationship between the tables) especially part where the data relationship between the booking table and customer table.
The relationships look good to me.
What if there was a party booking for, say, 10 people wanting five rooms?
You'd be recording five bookings against the one customer using that design. So you might need a link table between booking and room, with just the two table ids, removing roomid from the booking table. Assuming that the one customer making the party booking was paying for it all.