Identify any referential integrity violations, if any

Assignment Help Database Management System
Reference no: EM13949726

Referential Integrity Check

Question 1 - Given the following data types of some table fields and the simple schema of the relational database they are a part of, inspect its relationships for any referential integrity violations. If any exist, list what they are:

Note: You can assume that cascading updates and deletes are not enabled.

Field data types for each table, with (PK) indicating the primary key field:

Employee Table
Field Name Type
EmployeeID (PK) Long Int
First_Name Text
Last_Name Text
Phone Text

Vehicle Table
Field Name Type
Vehicle_ID (PK) Long Int
Driver_ID Long Int
Model Text

Device Table
Field Name Type
Device_ID (PK) Int
EmployeeID Int
Type Text

Part Table
Field Name Type
Part_ID (PK) Int
Device_ID Long Int
Type Text

Conceptual schema showing inter-table relationships:

The actual schema in MS Access would look as follows:

Question 2 - Given the following data for the Employee and Vehicle tables, identify any referential integrity violations, if any:

EmployeeID First_Name Last_Name Phone
11 Chris Smith 8134567690
12 Pat Malone 9145551234

Vehicle_ID Driver_ID Model
1234 11 Ford F 150
4567 12 Toyota Rav4
2233 11 Pontiac
4993 NULL Chevy
6457 13 VW Jetta

Question 3 - As a user, can you delete the first record in the Employee table above, without violating any referential integrity rules? Explain why?

Attachment:- Referential_Integrity_Check.doc

Reference no: EM13949726

Questions Cloud

Why these four concepts are important for you intellectually : Can you discuss why these four concepts are important for you intellectually and/or professionally.
Demonstrate understanding of the manual accounting process : Demonstrate an understanding of the manual accounting process in an accounting information system, students will be required to identify and record transactions and process them to the preparation of financial reports.
The budgeted beginning cash balance : The desired ending cash balance is $40,000. To attain its desired ending cash balance for December, the company needs to borrow:
Find relationship between independent and dependent variable : Which regression models explain less than 50% of the observed variation between the actual values of the dependent variable and the mean value of the dependent variable values for the sample data set?
Identify any referential integrity violations, if any : Given the following data types of some table fields and the simple schema of the relational database they are a part of, inspect its relationships for any referential integrity violations
Compute the break-even point in units and sales dollars : Compute the break-even point in units and sales dollars. What was the margin of safety for Victoria Company last year?
Determine the final pressure : Water vapor is cooled in a closed, rigid tank from 520°C and 100 bar to a final temperature of 270°C. Determine the final pressure, in bar, and sketch the process onT-y and p-y diagrams.
Quality of a two-phase liquid-vapor mixture : 1. Each of the following exercises requires evaluating the quality of a two-phase liquid-vapor mixture: (a) The quality of a two-phase liquid-vapor mixture of H2O at 40°C with a specific volume of 10 m3/kg is
Why are the lines an example of dramatic irony : 1. Oedipus' words close the Prologue as he says: "Now I am here./ I will begin the search again. I/ will reveal the truth, expose everything" (160-2). (a) Why do the words show Oedipus to be a strong king? (b) Why are the lines an example of dramatic..

Reviews

Write a Review

Database Management System Questions & Answers

  The current database section found through the office button

In the Current Database section found through the Office Button, add Add Messages-Operator's Version as the application title. Make the start-up form Unread Messages open automatically when the application starts.

  Describe the entities of the database

Based on your research and / or common knowledge of a college and the information tracked by a college, describe the entities of the database and the attributes of each entity

  An attribute is a characteristic or property of an entity

an attribute is a characteristic or property of an entity. if person is an entity would the same attributes be used to

  Problem 1for the normal form game below solve for all nash

problem 1for the normal form game below solve for all nash equilibria and provide a justification for players

  Normalize the following table

Normalize the following table upto and including the 3NF. Submit a 1 page printout of only the final set of normalized tables in Data Architect. Just use Data Architect to do the tables. No need for E-R, mapping, relationships etc. Just tables. State..

  Write sql queries to solve the given specifications

Write SQL queries to solve the following specifications. Include the query AND THE OUTPUT. A screen dump of the output is acceptable. Show as many rows as you can.

  Create a form for the product table

Create a form for the Product table. Create a report for the Product table. grade will be based on the quality of your design and presentation

  What are the typical phases of query processing

What are the typical phases of query processing? With a neat sketch discuss these phases in high-level query processing. Discuss the reasons for converting SQL queries into relational algebra queries before query optimization is done

  Consider the following schema of ra b c d with functional

consider the following schema of ra b c d with functional dependenciesa -gt b b-gt c and b-gtd1- compute the closure

  List the sales for each customer

Each query is worth 2 marks. These tables exist in sphinx and are owned by the user dtoohey. You may, if you wish, create your own copies of the tables under your own account. If you do so, you should ensure that you copy the sample data in dtoohe..

  Relational and logical operators to evaluate logical

Boolean w6 using Relational and Logical Operators to Evaluate Logical (Boolean) Expression Evaluate the logical (Boolean) expressions in the following exercises and circle the correct answer after you evaluation

  Criteria selecting a life-cycle model for the project

What criteria would you use in selecting a life-cycle model for the project?

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd