How Databases Work: Relational Data Basics · Lesson 1 · 3 minutes

Meet the table

Identify what a database table holds.

Play this lesson in your browser. No account needed.

  1. Sara's book list

    Sara runs a bookstore. She keeps a list of books in a database table.

    Sara's book list. Sara runs a bookstore. She keeps a list of books in a database table.
  2. One kind of thing

    A table holds records about only one kind of thing. It does not mix everything together.

    One kind of thing. A table holds records about only one kind of thing. It does not mix everything together.
  3. Sara needs to track customers too. What should she do?

    • Make a new table just for customers.
    • Put customers into the books table.

    Answer: Make a new table just for customers.

    A table should hold only one kind of thing.

  4. Complete the rule for Sara's bookstore:

    Sara puts books in the books table. She puts customer names in the ___ table.

    Answer: Sara puts books in the books table. She puts customer names in the customers table.

    A database uses different tables for different things.

  5. Can one big table hold books, customers, and staff pay?

    • No, each topic needs its own table.
    • Yes, one table should hold the whole business.

    Answer: No, each topic needs its own table.

    A single table should never hold all data for an entire business.

  6. Naming a table

    A table name tells you what kind of thing is inside. It is usually plural, like `books`.

    Naming a table. A table name tells you what kind of thing is inside. It is usually plural, like `books`.
  7. Match each kind of thing to its table name:

    Answer: books customers

    Clear table names tell us exactly what kind of thing is stored.

  8. Which name is best for a table of customer orders?

    • orders
    • stuff
    • bookstore_all

    Answer: orders

    A table name should clearly describe the one thing it holds.

What to remember

  • A database table holds only one kind of thing.
  • Different things get separate tables.
  • A good table name clearly describes what is inside.

Next in this course: Read a row. It carries on in the Breni app.

The full How Databases Work: Relational Data Basics path