Presentation is loading. Please wait.

Presentation is loading. Please wait.

IFS180.81 Intro to Data Management Chapter 1 What is Relational.

Similar presentations


Presentation on theme: "IFS180.81 Intro to Data Management Chapter 1 What is Relational."— Presentation transcript:

1 IFS Intro to Data Management Chapter 1 What is Relational

2 Operational Database TPS Transaction Processing System Dynamic Usage = conceptual running of the business Analytical Database Data Warehouse / Mart Static Usage = historical. Typically used for analysis (trending / forecasting)

3 What is Relational Functions of DBMS: Store the structure of the database Stores data Stores relationships between data Stores forms and reports pertaining to the database

4 What is Relational Character—smallest logical representation—e.g.; gender code “M” for Male or “F” for Female Data Field—a character or group of related characters that conveys meaningful data about an object—smallest meaningful unit of data—e.g.; employee name – Relational = Column Record—a collection or group of data fields that relay data/information about an object—e.g.; employee record – Relational = Row File—a collection or group of related records usually grouped by some logical association—e.g.; payroll file – Relational = Table Database—a collection or group of files usually grouped by some logical association—e.g.; corporate database

5 What is Relational Row represents a unique instance of the subject matter of table (defines characteristics about the object) For example: Part Master Table: W Washer, Locking EA W Bolt, Lag EA L Cap, End EA Part Number Part Description U/M On-Hand ROP

6 What is Relational Key Fields Primary Key Fields Composite Primary Key Fields Foreign Key Fields W Washer, Locking EA B01C W Bolt, Lag EA H34S L Cap, End EA CY76 Part Number Part Description U/M On-Hand ROP CC

7 What is Relational W Washer, Locking EA B01C W Bolt, Lag EA H34S L Cap, End SQ EA CY76 Part Master Table Commodity Code Table B01C Purchased Fastener D765 Purchased Castings CY76 Manufactured End Caps

8 What is Relational Primary Keys (PK) PK value identifies a specific record throughout the entire database (What?) PK Field identifies a given table throughout the entire database (What?) PK enforces table level integrity (What?) PK should be identified for each table in the database

9 What is Relational Foreign Key (FK) FK is a PK in another table FK ensures relationship-level integrity (What?) FK are important to eliminate orphaned records

10 What is Relational Table Relationships **Not** where the name RDBMS is derived from *Is* association of rows between tables One – to – One Relationship One – to – Many Relationship Many – to – Many Relationship Is it possible to have a none – to – none Relationship with RDBMS

11 What is Relational One – to – One Table Relationship Not very common Done for security / privacy reasons Can be accomplished by column level security within the DBMS James Jones 1010 Mockingbird Lane York PK

12 What is Relational One – to – Many Relationship Single row in one table is related to multiple rows in another table PK on the ‘One’ side of the relationship becomes the FK on the many side of the relationship Not every row must exist in the “Many” table, but every row in the many table must have a related row in the “one” table ** Important Concept **

13 What is Relational W Bolt, Lag EA H34S W Washer, Locking EA B01C L Cap, End SQ EA CY76 Part Master Table Physical Inventory Table A W A W PK becomes a FK in “Many” Table

14 What is Relational Many – to –Many Relationship Many rows in one table relate to many rows in the second table Normally described as a LINKING table A methodology for associating tables without violating Normalized Form (Next week) PK’s of both tables are combined to form the linking table

15 What is Relational Customer Master 2270 R.R. Donnelly Chicago 9985 World Color Boston Shipto Greenfield Road Lancaster PA SteelWay Lancaster PA Harrisburg Pike Lancaster PA

16 IFS Introduction to Data Management


Download ppt "IFS180.81 Intro to Data Management Chapter 1 What is Relational."

Similar presentations


Ads by Google