
EEL4852 Final review
Fall 2007
Dr. Yicheng Tu
I. Chapter 1 - Introduction
1. Desirable characteristics of database systems (advantages over file systems)
2. Instances and schemas
II. Chapter 2 - Relational Model
1. Relational algebraic operations (focus on rules/assumptions)
a. Select
b. Project (both regular and generalized)
c. Union
d. Set difference/intersection
e. Cartesian product
f. Rename
g. Natural join, theta join
h. Division
i. Aggregate
2. Database modification
a. Deletion
b. Insertion
c. Updating
III. Chapter 3 – SQL
1. Basic structure of SQL queries
a. 'select', 'from', and 'where' clauses
b. Their algebraic equivalence
c. Tuple variables in SQL
d. Maintain/eliminate duplicates
e. Tuple ordering
2. SQL set operations
a. Union
b. Intersection
c. Except
3. Aggregate functions
a. What are the different types of aggregates
b. 'group by' and 'having' clauses
4. Nested subqueries
a. Set membership and comparison
b. Testing for empty relations and the absence of duplicate tuples
IV. Chapter 5 – Other Relational Languages
1. Query by example (QBE)
a. Indication of a particular attribute’s value being displayed
b. Negation operator
c. Queries involving more than one relation
V. Chapter 6 – ER design
1. Model components
a. Entity sets
b. Relationship sets
2. Constraints
a. Cardinalities: one/many-to-one/many
b. Participation: total, partial