Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

need help from a to h 1. You have been selected to create a new database for a small summer camp in Vermont. The database

image text in transcribed

need help from a to h

1. You have been selected to create a new database for a small summer camp in Vermont. The database will track campers, their registration, their payment, their bunk assignment, and their top three preferred activities. The database should also track camp counselors, their bunk assignments (one counselor to each camper bunkhouse), and their top three activities they supervise. a) List what tables you think will be needed for this project. b) Discuss what an entity will be in each table. I'll give you one as an example.....A camper will be an entity in the camper table. c) Identify at least three attributes for each entity. Continuing with the example, a camper will have a first name, last name, address, city, state, zip code, home phone, gender, age, etc. d) Define which relationships exist between tables. For example, a camper will be related to a bunkhouse. e) Determine if relationships are 1 to 1, 1 to Many or Many to Many. A camper can only be in one bunkhouse but a bunkhouse will have many campers. f) Now take a closer look at your Many to Many relationships. The relational database model cannot support this type of relationship so you have to break them into two tables with a linking table in between. Explain how you will correct these many to many relationships in your database. For example, a child can have many parents in the parent table ( a mom, a dad, a stepmom, etc.) and a parent can have many children at the camp (can send two siblings). So I would need a separate parent table from the camper table and I would have a linking table in between that had the parent_id and the camper_id together. g) For each table, write the shorthand to represent each table used throughout the chapter. Put the table name and then in parentheses, list the attributes. Underline the field that you will be using as the primary key. There's a better example in chapter 4 on page 115 that explains the system they've been using in chapter 3! h) Write at least two business rules that will act as constraints on the problem. For example, a camper must be at least 8 years old to attend camp

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Management An Organizational Perspective

Authors: Richard T. Watson

1st Edition

0471305340, 978-0471305347

More Books

Students also viewed these Databases questions