Question: Draw data models for the following entities. In each case, make certain that you show the attributes and identifiers. Also, create a relational database and

Draw data models for the following entities. In each case, make certain that you show the attributes and identifiers. Also, create a relational database 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. You should submit a file with the data model drawn and the SQL used to create and populate the tables. PLEASE INCLUDE THE SQL CODE USED TO POPLULATE THE TABLES. Each part ( a , b, c,) needs to have a data model and the SQL code.

  1. The Marathoner, a monthly magazine, regularly reports the performance of professional marathon runners. It has asked you to design a database to record the details of all major marathons (e.g., Boston, London, and Paris). Professional marathon runners compete in several races each year. A race may have thousands of competitors, but only about 200 or so are professional runners, the ones The Marathoner tracks. For each race, the magazine reports a runner's time and finishing position and some personal details such as name, gender, and age.
  2. An organization has decided to track the offices that each individual is in. Create a database design that will track employees name and email address as well as their assigned office. Office information includes building name, floor, and room number. Each individual can only be assigned to one office and each office can only have one employee assigned to it. Offices can be vacant and some employees will not have offices.
  3. The IS department of a large organization makes extensive use of software modules. New applications are built, where possible, from existing modules. Software modules can also contain other modules. The IS manager realizes that she now needs a database to keep track of which modules are used in which applications or other modules. (Hint: it is helpful to think of an application as a module.) For each module it is necessary to know the name of the module, length of the module (lines of code), and the programming language it is written in.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!