1. Homepage
  2. Homework
  3. BTM 382 Database Management - Assignment 1: Database Integrity
This question has been solved

BTM 382 Database Management - Assignment 1: Database Integrity

Engage in a Conversation
ConcordiaBTM382Database ManagementDatabase IntegrityEntity IntegrityReferential IntegritySQL

BTM 382 CourseNana.COM

Database Management CourseNana.COM

Assignment 1 CourseNana.COM

Use the database shown in Figure 1 to answer Problems 1-4. CourseNana.COM

1. For each table, identify the primary key and the foreign key(s). If a table does not have a foreign key, write None.
2. Do the tables exhibit entity integrity? Answer yes or no, and then explain your answer.
3. Do the tables exhibit referential integrity? Answer yes or no, and then explain your answer. Write NA (Not Applicable) if the table does not have a foreign key.
CourseNana.COM

4. Identify all the relationships between the tables and describe their type. CourseNana.COM

BTM 382 Database Management CourseNana.COM

Use the database shown in Figure 2 to work Problems 57. Note that the database is composed of four tables that reflect these relationships: CourseNana.COM

  • An EMPLOYEE has only one JOB_CODE, but a JOB_CODE can be held by many EMPLOYEEs. CourseNana.COM

  • An EMPLOYEE can participate in many PLANs, and any PLAN can be assigned to many EMPLOYEEs. CourseNana.COM

    5. For each table in the database, identify the primary key and the foreign key(s). If a table does not have a foreign key, write None.
    6. Do the tables exhibit entity integrity? Answer yes or no, and then explain your answer.
    7. Do the tables exhibit referential integrity? Answer yes or no, and then explain your answer. Write NA (Not Applicable) if the table does not have a foreign key.
    CourseNana.COM

BTM 382 Database Management CourseNana.COM

Use the database shown in Figure 3 to answer Problems 8-11. CourseNana.COM

8. Do the tables exhibit entity integrity? Answer yes or no, and then explain your answer.
9. Do the tables exhibit referential integrity? Answer yes or no, and then explain your answer. Write NA (Not Applicable) if the table does not have a foreign key.
10. Identify the TRUCK table’s candidate key(s).
11. For each table, identify a superkey and a secondary key.
CourseNana.COM

Use the database shown in Figures 4 & 5 to answer Problems 1215. CourseNana.COM

ROBCOR is an aircraft charter company that supplies on-demand charter flight services using a fleet of four aircraft. Aircrafts are identified by a unique registration number. Therefore, the aircraft registration number is an appropriate primary key for the AIRCRAFT table. CourseNana.COM

BTM 382 Database Management CourseNana.COM

CourseNana.COM

BTM 382 Database Management CourseNana.COM

The nulls in the CHARTER table’s CHAR_COPILOT column indicate that a copilot is not required for some charter trips or for some aircraft. Federal Aviation Administration (FAA) rules require a copilot on jet aircraft and on aircraft having a gross take-off weight over 12,500 pounds. None of the aircraft in the AIRCRAFT table are governed by this requirement; however, some customers may require the presence of a copilot for insurance reasons. All charter trips are recorded in the CHARTER table. CourseNana.COM

12. For each table, identify the primary key and foreign key(s) when possible. CourseNana.COM

You want to see data on charters flown by either Robert Williams (employee number105) or Elizabeth Travis (employee number 109) as pilot or copilot, but not charters flown by both of them. Complete Problems 13–15 to find this information. CourseNana.COM

13. Create the table that would result from applying the SELECT and PROJECT relational operators to the CHARTER table to return only the CHAR_TRIP, CHAR_PILOT, and CHAR_COPILOT attributes for charters flown by either employee 105 or employee 109 as pilot or copilot. CourseNana.COM

14. Create the table that would result from applying the SELECT and PROJECT relational operators to the CHARTER table to return only the CHAR_TRIP, CHAR_PILOT, and CHAR_COPILOT attributes for charters flown by both employee 105 and employee 109. CourseNana.COM

15. Create the table that would result from applying a DIFFERENCE relational operator of your result from Problem 13 to your result from Problem 14.  CourseNana.COM

Get in Touch with Our Experts

WeChat (微信) WeChat (微信)
Whatsapp WhatsApp
Concordia代写,BTM382代写,Database Management代写,Database Integrity代写,Entity Integrity代写,Referential Integrity代写,SQL代写,Concordia代编,BTM382代编,Database Management代编,Database Integrity代编,Entity Integrity代编,Referential Integrity代编,SQL代编,Concordia代考,BTM382代考,Database Management代考,Database Integrity代考,Entity Integrity代考,Referential Integrity代考,SQL代考,Concordiahelp,BTM382help,Database Managementhelp,Database Integrityhelp,Entity Integrityhelp,Referential Integrityhelp,SQLhelp,Concordia作业代写,BTM382作业代写,Database Management作业代写,Database Integrity作业代写,Entity Integrity作业代写,Referential Integrity作业代写,SQL作业代写,Concordia编程代写,BTM382编程代写,Database Management编程代写,Database Integrity编程代写,Entity Integrity编程代写,Referential Integrity编程代写,SQL编程代写,Concordiaprogramming help,BTM382programming help,Database Managementprogramming help,Database Integrityprogramming help,Entity Integrityprogramming help,Referential Integrityprogramming help,SQLprogramming help,Concordiaassignment help,BTM382assignment help,Database Managementassignment help,Database Integrityassignment help,Entity Integrityassignment help,Referential Integrityassignment help,SQLassignment help,Concordiasolution,BTM382solution,Database Managementsolution,Database Integritysolution,Entity Integritysolution,Referential Integritysolution,SQLsolution,