Skip to main content
DATABASES-EXPLAINED5 MIN READ

Read a Schema as Business Facts

Explain a relational schema by naming the facts it stores and the relationships it permits.

The fastest way to understand a database is to translate storage into claims. Table A table groups facts of the same kind. If the table name is plural but the row grain is unclear, ask "What does one row assert?" before asking how to query it. Key A key is the database answer to identity. It tells the system which facts are the same fact and which are separate facts. Relationship A foreign key is a business rule made executable: this row can exist only if the referenced row exists. Query A query combines facts. Bad joins usually come from…

Read the full lesson

Sign up free — one personalized lesson every day, matched to your role and goals.

Already have an account? Sign in

← Back to library
Contact us