AI engineering glossary · SQL databases

What is 2NF (second normal form)?

Second normal form (also called 2NF): A table is in this form if it satisfies the first form and every non-key column depends on the whole primary key, not just part of a composite key. It removes partial dependencies.

Level: advancedTopic: SQL databases

Second normal form: an example

In order_items(order_id, product_id, product_name), product_name depends only on product_id, so it belongs in products.

Related terms

More SQL databases terms

Where you learn it

Second normal form 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.