ITM 210: Database Concepts and Design

0.0(0)
Studied by 0 people
call kaiCall Kai
Locked
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/25

flashcard set

Earn XP

Description and Tags

Vocabulary flashcards covering key terms and definitions from ITM 210 lecture notes on database concepts, relational database design, ERDs, and Sakila database relationships.

Last updated 11:45 PM on 9/8/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

26 Terms

1
New cards

Database

An organized collection of structured data stored electronically, designed to efficiently store, retrieve, and manage large amounts of information.

2
New cards

Key advantages of databases over Excel spreadsheets

  1. Higher data volume: Capable of storing billions of records.

  2. Higher concurrent users: Supports hundreds of simultaneous users.

  3. Reduced data duplication: Data is stored once and linked everywhere (e.g., updating a customer address in one record updates it across the system).

  4. Data integrity: Automatic enforcement of integrity rules.

  5. Query performance: Optimized for fast data retrieval.


3
New cards

Relational Database

A database that organizes data into tables and connects them together through carefully designed relationships.

4
New cards

Table

A collection of related data organized in rows and columns, where each table typically represents one type of entity (e.g., customers, products, orders, or employees).

5
New cards

Record (Row)

A single entry in a table representing one instance of the entity (e.g., a single row in a customers table representing one specific customer).

6
New cards

Field (Column)

A single piece of information about each record in a table (e.g., Customer ID, First Name, Last Name, Email, or Phone).

7
New cards

Data Type

A classification that specifies what kind of data can be stored in a field and what operations can be performed on it.

8
New cards

Recommended data type for storing customer phone numbers and reason

VARCHAR / TEXT, because phone numbers may contain symbols (e.g., dashes, parentheses) or leading zeros, and they do not undergo arithmetic operations.

9
New cards

Integer (INT)

A data type representing whole numbers without decimals.

10
New cards

Decimal / Float

A data type representing numbers with decimal places.

11
New cards

VARCHAR / TEXT

A data type representing text strings containing letters, numbers, and symbols.

12
New cards

DATETIME / TIMESTAMP

A data type representing calendar dates and time combined.

13
New cards

BOOLEAN

A data type representing True/False values.

14
New cards

Primary Key

A field (or combination of fields) that uniquely identifies each record in a table, which cannot be duplicate or NULL (e.g., SSN or Customer ID).

15
New cards

Four key characteristics of a Primary Key

  1. Unique: No duplicate values allowed in the table (e.g., distinguishing two customers both named 'Sarah' using unique IDs).

  2. Not NULL: Every record must have a primary key value.

  3. Stable: Rarely or never changes.

  4. Simple: Ideally a single field.


16
New cards

Foreign Key

A field in one table that references the primary key of another table, creating links between related tables without repeating customer or entity details.

17
New cards

One-to-One Relationship (1:1)

A relationship where each record in Table A relates to exactly one record in Table B, and vice versa (e.g., each employee having exactly one parking permit/badge).

18
New cards

One-to-Many Relationship (1:M)

The most common relationship type, where one record in Table A relates to many records in Table B, but each record in Table B relates to only one record in Table A (e.g., one customer placing multiple orders, one department containing many employees, or one author writing many books).

19
New cards

Many-to-Many Relationship (N:M)

A relationship where records in Table A relate to multiple records in Table B, and vice versa (e.g., students enrolling in multiple courses and courses having multiple students, or books having multiple authors).

20
New cards

Implementation requirement for a Many-to-Many relationship

A junction (or bridge) table containing foreign keys that reference the primary keys of both participating tables.

21
New cards

Referential Integrity

A database rule that ensures foreign key values always reference existing primary key values, preventing orphan records and data corruption.

22
New cards

Example scenario demonstrating referential integrity enforcement

Without referential integrity: An order could reference Customer ID 9999 even if no customer with that ID exists (creating an orphan record).

With referential integrity: The database automatically rejects order creation with an invalid Customer ID.

23
New cards

Entity Relationship Diagrams (ERDs)

Visual representations and blueprints of a database structure showing entities (tables), attributes (columns), and relationships.

24
New cards

Cardinality

Symbols on relationship lines in an ERD that show how many records can participate in a relationship (e.g., '1' for exactly one, crow's foot for many, '0' for optional).

25
New cards

Sakila

A sample database modeling a DVD rental store, widely used for learning SQL due to its realistic business data and multiple related tables.

26
New cards

Examples of relationships within the Sakila sample database

Customer to Rental: 1:M (one customer can have many rentals)

Film to Inventory: 1:M (one film title can have many physical copies)

Inventory to Rental: 1:M (one DVD copy can be rented many times)

Film to Actor: N:M (films can feature multiple actors, and actors appear in multiple films)