Specify the foreign keys for schema

Assignment Help Database Management System
Reference no: EM1352826

Q1) Consider the following relations for a database that keeps track of auto sales in a car dealership (Option refers to some optional equipment installed on an auto):

CAR (Serial-No, Model, Manufacturer, Price),
OPTIONS (Serial-No, Option-Name, Price),
SALES (Salesperson-id, Serial-No, Date, Sale-price)),
SALESPERSON (Salesperson-id, Name, Phone).

First, specify the foreign keys for this schema, stating any assumptions you make. Next, populate the relations with a few example tuples, and then give an example of an insertion in the SALES and SALESPERSON relations that violates the referential integrity constraints and of another insertion that does not.

Reference no: EM1352826

Questions Cloud

Determination of apr and apy : A bank loan contract calls for an interest rate equal to prime rate plus 1%. If prime rate averages 9% and non-interest-earning compensating balances equal to 10 percent.
Cultures allow ego centric reasoning : Do the values of all cultures allow ego centric reasoning ("what is good for me") or allow one to be more concerned about the good of the community above the good of the individual?
Calculate the yearly expenses and gross sales : Deer Valley Lodge, a ski resort in Wasatch Mountains of Utah, has plans to eventually add 5 new chairlifts. Assume that one lift costs $2 million, and preparing the slope and installing the lift costs another $1.3 million.
Analyzing the personality development : Analyze the personality development of one of the theorists studied in this course from three different theoretical perspectives.
Specify the foreign keys for schema : First, specify the foreign keys for this schema, stating any assumptions you make. Next, populate the relations with a few example tuples.
Emotion and its therapy : Emotion is very effective at obstructing logic. Oftentimes, hearing one's own dysfunctional thoughts and behaviors repeated back to you by an unbiased, trusted practitioner can begin the process of chipping away at automatic defense mechanisms.
Organizations performance comparison : Pick a well-known company that you feel is performing very highly and one that is not. Provide ten reasons why the two companies' performances are so dissimilar.
How much is it lengthened from its untensioned length : A 220 g block on a 50 cm long string swings in a circle on a horizontal, frictionless table at 95.0 rpm. what is the tension on the string.
Yield to maturity on a comparable u.s. treasury issue : Assume the following bond quotes for IOU Company appear in the financial page of today's newspaper. Suppose the bond has a face value of $1,000 and current date is April 15, 2007.

Reviews

Write a Review

Database Management System Questions & Answers

  Knowledge and data warehousing

Design a dimensional model for analysing Purchases for Adventure Works Cycles and implement it as cubes using SQL Server Analysis Services. The AdventureWorks OLTP sample database is the data source for you BI analysis.

  Design a database schema

Design a Database schema

  Entity-relationship diagram

Create an entity-relationship diagram and design accompanying table layout using sound relational modeling practices and concepts.

  Implement a database of courses and students for a school

Implement a database of courses and students for a school.

  Prepare the e-r diagram for the movie database

Energy in the home, personal energy use and home energy efficiency and Efficient use of ‘waste' heat and renewable heat sources

  Design relation schemas for the entire database

Design relation schemas for the entire database.

  Prepare the relational schema for database

Prepare the relational schema for database

  Data modeling and normalization

Data Modeling and Normalization

  Use cases perform a requirements analysis for the case study

Use Cases Perform a requirements analysis for the Case Study

  Knowledge and data warehousing

Knowledge and Data Warehousing

  Stack and queue data structure

Identify and explain the differences between a stack and a queue data structure

  Practice on topic of normalization

Practice on topic of Normalization

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