Chapter Summary
- RDB stores information in tables. Each column has a datatype and unique
name
- SQL - command language for interacting w/the DB
- CREATE TABLE and INSERT commands to add to a DB.
SELECT to query. UPDATE and DELETE to modify
the data
- Do not replicate data among rows. Distribute over multiple
tables
- Primary key - column(s) that uniquely identify a record
Foreign key - reference to primary key in linked table
- A join is a query that involves multiple tables
- Use an API to access a DB from a C++ program
- Transaction - set of updates that should succeed entirely, or not at
all
prev
|top