Purchase Solution

Primary keys, candidate keys, and two dimensional tables

Not what you're looking for?

Ask Custom Question

Question 1
Distinguish between the primary key and a candidate key. Provide an example of each.

Question 2
What requirements must a two-dimensional table satisfy in order to be a relation? Provide an example of a table that is a relation.

Purchase this Solution

Solution Summary

This solution discusses primary and candidate keys, and also discusses the requirements needed for a two dimensional table in order to be a relation. References are provided for both questions.

Solution Preview

Question 1

The primary key is a candidate key that the IT professional has selected that acts to identify the rows in a table. The primary key is typically chosen based upon the amount of foreign key data that needs to be generated. The primary key is used for four distinct tasks, including identifying table rows, and then representing the rows into a relationship. The other two duties include organizing the relation of storage and for use in indexes to improve operational performance. A good use of a primary key would be a key internally generated "that has no meaning outside of the database system" (Chapple, 2012). This would then be used as an auto number to create a record identification, which would be automatically generated in specific order each time a new record is created by the user.

The candidate ...

Purchase this Solution


Free BrainMass Quizzes
IPOs

This Quiz is compiled of questions that pertain to IPOs (Initial Public Offerings)

Six Sigma for Process Improvement

A high level understanding of Six Sigma and what it is all about. This just gives you a glimpse of Six Sigma which entails more in-depth knowledge of processes and techniques.

Social Media: Pinterest

This quiz introduces basic concepts of Pinterest social media

Organizational Behavior (OB)

The organizational behavior (OB) quiz will help you better understand organizational behavior through the lens of managers including workforce diversity.

Writing Business Plans

This quiz will test your understanding of how to write good business plans, the usual components of a good plan, purposes, terms, and writing style tips.