SMG IS 223 Lecture Notes - Lecture 14: Unique Key, Foreign Key, Data Redundancy

30 views1 pages
o Fields from one table are present in other tables to form relationships
o Fields can be designated types (integer, date, varchar)
Primary Key
Column (s) in each table/file used to uniquely identify each record
o Many tables will utilize multiple columns (fields) to accomplish this level of
uniqueness
Every table must have a primary key
Foreign Key
Column (s) in one table that is the primary key of another table
Although the foreign key is defined in the “child” table, it refers to the primary key in the
“parent” table
ERD is the blueprint/logical model
Conversions of ERDs with Access
Entities become tables
Attributes become table columns
Add foreign keys (create table columns for foreign keys)
Create intermediary tables for many-to-many relationships
Tables need to be singular, not plural
Data Normalization
Designing how data is stored to reduce data integrity problems
Limiting data redundancy
CREATING INTERMEDIARY TABLE
find more resources at oneclass.com
find more resources at oneclass.com
Unlock document

This preview shows half of the first page of the document.
Unlock all 1 pages and 3 million more documents.

Already have an account? Log in

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents