Doss Academy
Skip to learning content

Lesson Notes — Databases — Records, Fields, and Tables

Course 1: Computer Literacy / Unit 4: Digital Productivity Applications / Lesson 3: Databases — Records, Fields, and Tables

Lesson overview

A database is an organized collection of information that makes it easy to store, find, and update. Schools, stores, hospitals, and games all rely on databases. If you have ever searched your contacts list, you have used one.

The building blocks

  • A table holds information about one kind of thing, such as students.
  • A record is one row in the table, which describes one item or person.
  • A field is one column, which holds one type of information, such as grade level.
  • A primary key is a field whose value is unique for every record, like a student ID number. It makes sure two records can never be confused.
Student ID Name Grade Club
1001 Ana 10 Robotics
1002 Marcus 11 Art
1003 Priya 10 Chess

In this table, each row is a record, each column is a field, and Student ID is the primary key.

Working with the data

  • Sorting puts records in order, such as alphabetically by name.
  • Filtering shows only the records that match a rule, such as Grade equals 10.
  • A query is a question you ask the database, such as which students are in the Chess club.
  • A schema is the plan for how the database is built: its tables, fields, and the type of data each field holds.
  • Data integrity means the information is accurate and consistent. Rules such as required fields and unique IDs help protect it.

Spreadsheet or database?

A spreadsheet is great for calculating and for small lists. A database is better when you have a lot of information, when many people use it, or when different tables connect to each other.

Check your understanding

  1. In the table above, how many records and how many fields are there?
  2. Why would a school not use a person’s name as the primary key?
  3. Write a query in plain English to find all students in Grade 10.

Use this lesson’s Key Terms page to build your glossary.

Discuss and submit in Google Classroom

Use this site to read, watch, and get shared learning materials. Keep completed work, questions, and comments in your class on Google Classroom.

Open Google Classroom

Choose your class and the assignment named by your teacher.

KDE student outcomes

Unit-level context for this lesson · Course 110110

View aligned outcomes (2)
  • #3 Utilize computer technology as a tool to access, manage, prepare, and present information.
  • #9 Use application software packages to prepare basic documents, spreadsheets, databases, and presentations.

Alignment from Master Lesson Plans v3.5. These are instructional targets; completing a resource does not by itself establish mastery.