
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
Business Model Canvas
Presentation
•
12th Grade
8 questions
Testing01 Introduction to Machine Learning and Its Application
Presentation
•
University
8 questions
Controlling Idea & Supporting Evidence
Presentation
•
KG - University
9 questions
Computer Vision
Presentation
•
University
8 questions
Marriage of Figaro
Presentation
•
12th Grade
6 questions
Runner's Breakfast - Listening
Presentation
•
KG - University
6 questions
Positioning
Presentation
•
10th - 12th Grade
12 questions
Prepositions
Presentation
•
3rd Grade
Popular Resources on Wayground
10 questions
GPA Lesson
Presentation
•
9th - 12th Grade
7 questions
Albert Einstein
Quiz
•
3rd Grade
31 questions
Bridge A Review
Quiz
•
3rd Grade
6 questions
Blue Sue and Red Ruth
Quiz
•
3rd Grade
8 questions
(Day12 HW) Inverse Trig Ratios
Quiz
•
9th Grade
20 questions
Summer Geometry QUIZ (Week3)
Quiz
•
9th Grade
16 questions
Theme Practice
Quiz
•
7th Grade
20 questions
Taxes
Quiz
•
9th - 12th Grade