AI engineering glossary · SQL databases

What is schema?

Schema: The blueprint of a database: which tables exist, their columns and data types, keys, constraints and relationships. In some systems a schema is also a named namespace that groups tables. Changing it later requires care because live data must stay valid.

Level: beginnerTopic: SQL databases

Schema: an example

The schema says orders has order_id (integer, primary key), customer_id (foreign key) and amount (numeric, NOT NULL).

Related terms

More SQL databases terms

Where you learn it

Schema is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.