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

  Implement a database of courses and students for a school

Implement a database of courses and students for a school.

  Various kinds of keys to form or define relationships

Relational database is based on fact that data in one table can be tied, or related to data in another table. To do this, database utilizes various types of keys to form or define these relationships.

  Referential integrity constraint prevent from data inserting

What actions does a referential integrity constraint prevent from occurring when data is inserted in a table that contains this constraint?

  Draw an entity relationship diagram for the system

Draw an Entity Relationship diagram for the system and Identify the table design for the database displaying all the fields/attributes. Ensure that all tables are in 3NF. You also need to identify the primary keys and foreign keys, where applicable..

  Pharmacy designating database

Pharmacy systems today are more efficient and user friendly when compared to the systems 20 years ago.

  Study and modify the postgresql source code

Write a Assignment to study and modify the PostgreSQL source code, with a focus on one of the core modules - the buffer manager

  Write an sql query

Write an SQL query to get the author of the book "The Alchemist"

  Design a database schema

Design a Database schema

  Explain the security mechanisms available for a database

Use technology and information resources to research issues in database systems. Write clearly and concisely about relational database management systems using proper writing mechanics and technical style conventions.

  Create application owner and stored in schema

One of the tenets of database development is to never permit developers to create or own objects during development. All objects are created by application owner and stored in that schema.

  Relations of airline flight information

The relations given below keep track of airline flight information:Flights(flno: integer, from: string, to: string, distance:integer, departs: time, arrives: time, price: real)Aircraft(aid: integer, aflame: string, cruisingrange: integer)

  Analysis of a simple case study

VSS has an existing software package that controls its high bay systems and wants to rewrite it. The existing system is written in C and uses C-ISAM files to store data.

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