What You’ll Learn


A Structured Collection

A database is an organized collection of information designed for repeated use. Instead of keeping every detail in one long document, it stores similar facts in consistent places.

Think of a digital address book

Each person has a record. Name, telephone number and email address are fields. Because each detail has a consistent place, you can search by name or sort the records without reading every entry.

Three database records are arranged in rows. Each record uses the same fields: learner number, name and status. A search returns only active learners.

Records, Fields and Values

RECORDAll the stored details about one item, person or event—for example, one class registration.
FIELDA consistent category such as name, date, class or payment status.
VALUEThe actual information inside a field, such as “September 18” or “Confirmed.”
IDENTIFIERA unique value that distinguishes one record from another, even when two people have the same name.

Databases Answer Questions

A query is a structured request for particular information. You use queries without seeing the technical instructions behind them.

Most apps are asking questions

When you search, filter, sort or open a profile, the application often sends a question to a database and presents the matching result.


How Related Information Helps

A system does not need to repeat every detail in every place. It can connect related records using identifiers.

For example, a class booking can link one learner record to one class record. If the learner updates their email address, it changes in the learner record rather than in every past booking.

This reduces duplication, but relationships must be designed carefully. Deleting or changing one record may affect information connected to it.


What Happens When You Select “Add to Cart”?

  1. The application identifies the product you selected.
  2. It checks a database for the price and available quantity.
  3. It creates or updates a cart record connected to your session or account.
  4. The page displays the updated cart.
  5. At checkout, other systems handle payment and inventory updates.

The page looks almost instant, but several structured checks and updates happen behind the button.


Good Information Still Matters

A database can be technically well built and still produce poor results if the stored information is incomplete, duplicated, outdated or entered inconsistently.

Access should follow purpose

Not everyone needs every field. A facilitator may need a learner’s name and accommodation request, while a public class listing should not expose either. Collect only what is needed and restrict sensitive information to the people who need it.


Try It: Design a Tiny Database

A community group needs to track workshop registrations. Choose four useful fields from this list:

Show a sensible answer

Registration number, learner name, workshop name and attendance status directly support the task. Favourite movie is irrelevant. A passport number is highly sensitive and unnecessary.


Quick Knowledge Check

1. What is one complete set of details about a person or item called?

Answer

A record.

2. What does a query do?

Answer

It asks a database for selected information or an action using defined conditions.

3. Does organized data guarantee accurate results?

Answer

No. The information must also be accurate, current, relevant and entered consistently.


What to Remember

CONTINUE LEARNING

Next: Cloud Computing

See where remote applications and information run—and what “the cloud” actually means.

Continue to Lesson 4 →