2. Relationship Databases Flashcards
What is a database model?
A conceptual framework for database systems, consisting of data structures, operations, and rules governing valid data.
Who published the relational model and when?
E. F. Codd of IBM published the relational model in 1970.
What is the primary data structure of the relational model?
Table.
Which query language is standardized for relational databases?
SQL.
Name two types of databases that were dominant before relational databases.
- Hierarchical databases
- Network databases
What are relational databases optimized for?
Transactional data.
What is big data characterized by?
Unprecedented data volumes and rapidly changing data structures.
List three strengths of relational databases.
- Productivity
- Simplicity
- Transactional applications
What type of data structure does a hierarchical database use?
Tree.
What type of data structure does a network database use?
Linked list.
What is the difference between a set and a tuple?
A set is unordered, while a tuple is ordered.
What are the components of a table in a relational database?
- Name
- Fixed tuple of columns
- Varying set of rows
In relational databases, what is a column?
A named data type.
What is an unnamed tuple of values in a table called?
Row.
Fill in the blank: A _______ is a named set of values from which column values are drawn.
Data type.
What are the two main types of operations in relational algebra?
- Unary operations
- Binary operations
Name three relational operations.
- Select
- Project
- Join
What does the SELECT operation do?
Selects a subset of rows from a table.
What does the JOIN operation do?
Combines two tables by comparing related columns.
True or False: The result of a relational operation is always a table.
True.
What is a unique primary key in relational rules?
A column or group of columns in which values may not repeat.
True or False: Business rules are always the same as relational rules.
False.
What is the purpose of SQL?
To store, manipulate, and retrieve data.
What organization published the SQL standard?
American National Standards Institute (ANSI) and International Organization for Standardization (ISO).