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

  Physical schema created for a database

At this point in the design process, you would have a detailed physical schema created for a database. How would you approach converting your schema into a database, complete with sample data? Explain your approach in two to three paragraphs.

  Data modelling in organizational intelligence

Data Modelling (database) require 8 page essay covering the following subjects: Organizational Intelligence. It must specifically talk about organizational intellignece being outcome of organization's efforts.

  Prepare a set of non-functional requirements

Need a system that networks its 3 campuses in the US and one campus in Singapore. Transaction data for all campuses should be available to all locations. In addition, students should be able to use the Internet to view classes, enroll, register, and ..

  Kinds of joins

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

  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.

  Developing a database

You have been asked to develop a database utilizing only the written problem description given by the client. In reviewing the description.

  Spreadsheet and database

Explain the differences between the storing data in Access and Excel. Why you would use a spreadsheet over the database?

  Create link list in adt to maintain employee information

Create a link list in ADT c to maintain employee information like name,empid,basic salary and address.1.add employee info to the list if the empid is valid.

  Explaining cardinality of a relationship

What is meant by cardinality of a relationship? Your answer requires to be thorough and specific. Be sure to include the two types of cardinality

  Create a database using oracle packaged procedure

Create a database using Oracle packaged procedure

  Computing functional dependencies

Compute the functional dependencies which exist in following table. After determining the functional dependencies, transform this table to an equivalent collection of the tables which are in third normal form.

  Explaining weak relationship and weak entity

What is meant by a weak relationship? Provide an example. What is meant by weak entity? What do you understand by relationship degree?

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