Lesson 7: Data & Databases (ITF+)

CompTIA ITF+ • Lesson 7

Data & Databases (The Beginner-Friendly Way)

Learn what data is, how databases organize information, and why databases are not the same as storage.

Core idea: Apps talk to databases
Vocabulary: table • row • column • primary key
Goal: spot structured vs unstructured data

Lesson Content

1) What is data?

Data is raw facts — numbers, words, pictures, clicks, or measurements. Data becomes useful when we organize it.

Data vs Information
Data = raw facts. Information = data organized to answer a question.
Example: “98, 87, 91” (data) → “Average score is 92%” (information)

2) Structured vs unstructured data

Structured data fits a predictable format (often tables), making it easy to search and sort.
Unstructured data is not neatly arranged in rows/columns (photos, videos, PDFs, emails).

  • Structured: bank transactions, inventory lists, class rosters
  • Unstructured: selfies, YouTube videos, scanned documents

3) What is a database?

A database is an organized collection of data used by stores, schools, hospitals, banks, and apps.

4) Tables, rows, columns

  • Table: a collection of related data (like a spreadsheet)
  • Row (record): one item/person/order
  • Column (field): one type of data (Name, Email, Age)

5) Primary key

A primary key uniquely identifies a row (examples: Order ID, Student ID, Ticket #).

6) What is SQL?

SQL helps you query and manage data in a database (read/add/change/remove records).

  • SELECT (read)
  • INSERT (add)
  • UPDATE (change)
  • DELETE (remove)

7) Database vs storage

Database = organization system
Storage = where the bits physically live
A database may live on an SSD or in the cloud — but storage itself is not “a database.”

Diagram: How data moves through a system

Data flow diagram showing User, Application, Database, and Storage
Figure 1: User → Application → Database → Storage, then a response returns to the user.

8) Data protection (ties to Lesson 6)

  • Backups help you recover after ransomware, deletion, or drive failure
  • Access controls prevent unauthorized viewing/editing
  • Updates patch vulnerabilities that could expose data

9) Common database types (ITF+ friendly)

Databases come in different “styles.” The big split is relational vs non-relational.

  • Relational (SQL): data stored in tables with relationships (great for structured data).
  • NoSQL: flexible formats (often easier for mixed / semi-structured data at huge scale).
Exam mindset: If you see “tables + rows + primary key + SQL,” you’re in relational territory.

10) Why “normalization” exists (simple version)

Normalization is organizing tables to reduce duplicates and mistakes. Instead of repeating the same customer info in every order, you store the customer once and reference them.

  • Benefit: fewer errors + easier updates
  • Tradeoff: data is spread across more tables, so queries can be more complex

11) Data integrity & constraints

Databases enforce rules so data stays accurate.

  • NOT NULL: this field must have a value
  • UNIQUE: no duplicates (like usernames)
  • Primary key: unique identifier for each row
  • Foreign key: points to a row in another table (creates relationships)

12) Backup & restore basics (database angle)

Backups can be for files and also for databases. A database backup usually captures the data in a consistent way so you can restore it later.

  • Full backup: everything
  • Incremental: changes since last backup
  • Restore: bring data back after accidental deletion, corruption, ransomware, or hardware failure
Quick check: If ransomware hits and you have a clean backup, you can restore instead of paying.

13) Quick recap

  • Structured = predictable fields (tables)
  • Unstructured = files/media/text blobs
  • Database = organized system; storage = where bits live
  • SQL = language to query/manage relational databases

🔧 Practical: Structured vs Unstructured (Click-to-Sort)

Click an item, then place it into Structured or Unstructured. When finished, hit Check.

Bank transaction list YouTube video Customer orders table Photo from a phone Inventory spreadsheet Scanned PDF document Employee roster table Email thread GPS coordinates list Chat messages export Product catalog database table Audio recording

Structured Rows/Columns

Unstructured Files/Media

Status: Click an item above to select it.

📝 Knowledge Check: Lesson 7 Quiz (Advanced)

Score 75%+ to unlock Next Lesson.
Progress is stored on this device only (localStorage). Clearing browser data resets it.

Quiz Progress Pass: 75% 10 Questions
Tip: you can change answers before submitting.
Answered: 0/10
Score: —
Next up: Lesson 8 🔒 Locked (Pass quiz to unlock)

When you score 75% or higher, the Next Lesson button unlocks automatically on this device.

Leave a Comment