Free Online Flashcard Deck

1 Relational Database Foundations Free Online FlashCards

Study 1 Relational Database Foundations with 12 free online flashcards. Review key terms, definitions, and concepts with this interactive flashcard deck.

12 cards
01
Front

What is a relational database?

Back

A relational database organizes information into named tables, also called relations.

02
Front

What is a table in a relational database?

Back

A table is a named collection of data.

03
Front

What are the components of a relation?

Back

A relation is made of attributes, which are columns, and tuples, which are rows.

04
Front

What does an attribute’s domain describe?

Back

A domain is the set or kind of values that an attribute can contain.

05
Front

What does one row represent in a table?

Back

A row contains the values for one individual record in a table.

06
Front

What do a table’s columns describe?

Back

Columns describe the fields or attributes recorded in a table.

07
Front

What does a table’s schema specify?

Back

A table’s schema is its structure, including its name, column names, and column definitions.

08
Front

How do a table’s schema and data differ?

Back

The schema defines the table’s structure; the data is the set of rows currently stored in it.

09
Front

What does a column’s data type specify?

Back

A data type specifies what kind of value a column can store and how that value is interpreted.

10
Front

What kind of values is `INTEGER` suited to store?

Back

`INTEGER` is used for whole numbers, such as a count.

11
Front

What kind of value does the SQL type `DATE` represent?

Back

`DATE` represents calendar dates directly, rather than storing them as arbitrary text.

12
Front

When is `DECIMAL(p, s)` a useful column type?

Back

`DECIMAL(p, s)` stores exact decimal numbers and is useful for values such as prices.