Timedora
Free Online Flashcard Deck

Relational Database Fundamentals Free Online Flashcards

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

12 cards
01
Front

How does a relational database organize data?

Back

A relational database organizes data in tables, also called relations.

02
Front

What does a table represent in a relational database?

Back

Each table represents one kind of entity, such as a customer or product.

03
Front

What does a row represent?

Back

A row represents one record in a table.

04
Front

What does a column represent?

Back

A column represents an attribute with a defined data type.

05
Front

What does a table’s schema describe?

Back

A table’s schema describes its columns, keys, and rules.

06
Front

What is the purpose of a primary key?

Back

A primary key uniquely identifies each row in a table.

07
Front

Can a primary key use multiple columns?

Back

A primary key can consist of one column or a combination of columns.

08
Front

What defines a one-to-one relationship?

Back

In a one-to-one relationship, each row in one table corresponds to at most one row in the other table.

09
Front

Where is the foreign key stored in a one-to-many relationship?

Back

In a one-to-many relationship, the many-side table stores a foreign key referring to the one-side table.

10
Front

How can a many-to-many relationship be represented?

Back

A junction table represents a many-to-many relationship by storing a row for each pairing.

11
Front

What does each row in `order_items` represent?

Back

The `order_items` junction table stores a row for each order–product pairing.

12
Front

What does a foreign key refer to?

Back

A foreign key is a reference to a key in another table.