Basically,
Chapters 5, 6, & 7
from the textbook.
We have covered the second part of the course,
II. Queries.
While we talked about
some relational-calculus examples,
these are not covered by the test
(except to know what it is).
Only topics covered both in the reading and in class are fair game.
Test #2 is not cumulative,
so it does not test the topics
covered by Test #1.
(That said,
to understand the topics here,
you pretty much have to have understood what came before.)
We did not cover SQL OLAP
or NoSQL & semi-structured
from the **Schedule**.
- relational algebra (conceptual query languages)
[Ch2 §4,5 & Ch5 §1]
- relational algebra operators
- composing the operators
- SQL
[Ch 6: §1–5 & Ch 7]
- data query language basics
- syntax & conceptual model
- select-from-where block
- multi-relation queries
- NULL values & their effects
- data query language “advanced”
- aggregation
- group by & having
- sub-queries: where & how they can be used
- data definition language
- data manipulation language
- insert, update, & delete
- all-or-nothing principle (transactions)
And, of course,
queries, queries, queries!
Be comfortable with queries.
|