Draw the entities and relationships suggested by each word problem. Include the proper foreign key(s). Remember to make a copy for yourself.
Dogs may, or may not, have an owner and some dogs may have multiple owners. An owner may own many dogs or no dogs at all. Dogs have a DogID, Dogname and DogBreed. Owners have an OwnerID, OwnerName and OwnerAddress. We also want to capture the date the dog was adopted and the adoption fee paid by the owner.
A student may earn many scholarships though not every student earns a scholarship. Scholarships are awarded each semester, with some going to multiple students. Some scholarships may not be awarded. Students have a StudentID, Name and GPA. Scholarships all have a unique name, a total endowment and a reward duration (Spring 2018, Fall 2019, etc). We want to also capture the amount of the scholarship awarded to each student.
A course may have many sections or not be offered at all (no sections). Sections always belong to a single course. Students take at least one and often multiple sections during a semester. We want to capture a student’s grade and, if that grade is an F, last date attended. Courses have a CID, course name and department. Sections have a CRN, a room and a time. Sections have no students, or many students. Students have a CWID, name and year (like Sophomore).
Concerts are the coming together of one or more bands at one or more locations. So a location will host one or bands and bands will play at one or more locations. When a band plays again at the same location we will just overwrite the prior data. For every concert we want to capture the ticket price and local quiet hours (if any). Bands have a unique name, a genre, and a cost. Locations have a city, state, tax rate and a venue.