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

  Drawing active directory hierarchy in terms of forests

Draw Active Directory hierarchy in terms of forests, trees, domains, organizational units, and sites which are most suitable for this company and their security concerns.

  Creating erd containing order and customer entity

Create ERD containing Order and Customer entity types connected by 1-M relationship from Customer to Order. Select suiatble relationship name using your common knowledge of intersection.

  Explaining emp table does not have assigned primary key

Developers have noticed that EMP table doesn't have an assigned primary key. EMP_ID column has been selected to be the primary key.

  Translation from erd to the relational model

Complete (i.e., reverse engineering) ER diagram below such that 4 relation schemas above are exactly result of a translation from the ERD to the relational model.

  Baxter aviation database

ER diagram for the Baxter Aviation database

  Kinds of joins

It is not uncommon to have to access the data which reside in different tables, especially when formulating a report.

  Create an e-r diagram

You have probably seen that already when you tried to create an E-R diagram. Visio uses notation and graphical shapes that are not the same as those in your text. If you look at some of the links to schemas, you will see a similar sort of thing.

  Create a database using oracle packaged procedure

Create a database using Oracle packaged procedure

  Key functions of organization-map to strategic information

From information system point of view, we should take the key functions of organization and map them to strategic information. Do your companies follow this process or are steps skipped?

  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.

  Practice on topic of normalization

Practice on topic of Normalization

  An active database in pl-sql

Did the corresponding lines for invoices 1001 and 1008 in table LINE get deleted automatically? Can you explain why?

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