
DBMS Week 5
Presentation
•
Computers
•
12th Grade
•
Hard
Bobby Liu
Used 5+ times
FREE Resource
5 Slides • 4 Questions
1
DBMS Week 5
By Bobby Liu
2
Terminology
Relation - Table / File
Tuple - Row / Record
Attribute - Column / Field
3
Relational Keys
Candidate Key - Minimal set of attributes to uniquely identify tuple
Composite Keys - Multiple attribute keys
Primary Key - One Candidate key to uniquely identify tuple
Alternate Keys - Candidate keys not selected to be primary key
4
Multiple Select
What are the criteria for choosing a primary key? (More than one answer)
Minimal set of attributes
Less likely to have its values changed
Less likely to lose uniqueness in the future
With fewest characters
Easier to use from the user's point of view
5
Foreign key must match candidate key of home relation or wholly null
Referential Integrity
Primary key - no nulls
Entity Integrity
Relational Integrity Rules
6
Multiple Choice
Selection
Select tuples in a relation that satisfy selection condition
Select certain attributes from the relation and discards other attributes
7
Multiple Choice
Intersection
Result includes tuples in 2 relations and duplicates are removed
Result must include tuples in 2 relations
Result includes tuples in one relation only
8
Multiple Choice
Outer Join
Combine tuples with same value in join condition
Combine tuples and keep all tuples even if there is no matching tuple
Combine tuples and keep all tuples if there is matching tuples
9
Cartesian Product
Combine tuples from two relations so that related tuples can be identified
DBMS Week 5
By Bobby Liu
Show answer
Auto Play
Slide 1 / 9
SLIDE
Similar Resources on Wayground
6 questions
Basic ELAL Regulation
Presentation
•
KG - University
9 questions
Inference Context Clue
Presentation
•
12th Grade
5 questions
Foundations of Confirmation
Presentation
•
12th Grade
7 questions
CHOOSE THE BEST TITLE FOR EACH PARAGRAPH
Presentation
•
12th Grade
8 questions
IT center
Presentation
•
University
6 questions
Independent Reading
Presentation
•
12th Grade
7 questions
MAPS,GRAPHS,CHARTS
Presentation
•
KG - 12th Grade
7 questions
MD 2
Presentation
•
KG
Popular Resources on Wayground
24 questions
PBIS-HGMS Day 10
Quiz
•
6th - 8th Grade
10 questions
HCS SCI 03 Summer School Review 3
Quiz
•
3rd Grade
11 questions
Home Scope
Quiz
•
7th - 8th Grade
15 questions
HCS SCI 05 Summer School Assessment 3 Review
Quiz
•
5th Grade
35 questions
Lufkin Road Middle School Student Handbook & Policies Assessment
Quiz
•
7th Grade
18 questions
Geo 11.3 Area of Circles and Sectors
Quiz
•
9th - 11th Grade