Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Draw data models for the following entities. In each case, make certain that you show the attributes and identifiers. Also, create a relational database (write
Draw data models for the following entities. In each case, make certain that you show the attributes and identifiers. Also, create a relational database (write a code) and insert three rows for each of the tables that you create. The data can be anything you create that fits within any constraints specified in the problem.
- A farmer can have many cows, but a cow belongs to only one farmer. For each cow the farmer keeps track of the cows name, breed, and date of birth. For each farmer we need to track the farmers first name, last name, street address, city, state, and zip code.
- An aircraft can take many flights, but each flight is on only one aircraft. A flight can have many passengers, but a passenger can be on only one flight at a time. For each aircraft we want to track the make, model, and year manufactured. For each flight we want to track the origin, destination, date, departure time, and arrival time. For each passenger we want to track the passengers last name, first name, street address, city, state, zip code, seat number, and class (e.g. first, business, or coach).
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started