AI Glossary / Data engineering and architecture / Intermediate
First normal form (1NF)
Definition
First normal form, or 1NF, is a foundational condition in conventional relational database design: each attribute position contains a single value from its defined domain rather than a repeating group of values. It encourages a clear tabular representation of facts. Introductory explanations commonly describe these values as atomic, but atomicity should be understood relative to the chosen domain and model, not as a demand to split every value into its smallest imaginable parts.
What it means
A customer row containing a comma-separated list of several telephone numbers makes individual numbers difficult to validate, reference, and query as separate facts. Representing each contact in its own appropriately related row gives those facts a clearer structure. However, 1NF does not solve every design problem. A table can contain single values in every cell and still repeat facts unnecessarily or suffer insertion, update, and deletion anomalies.
How it works
Identify what each row represents and define the domain of every attribute. Where a field or group of fields actually represents a variable collection of independent facts, model that collection with suitable related rows. Define keys and relationships so the decomposition preserves the original meaning. Do not treat physical cell appearance as the whole test: a string can hide a list, and a date can legitimately be one domain value despite having year, month, and day components. Modern database support for arrays or structured types makes careful scope statements especially useful.
Three practical examples
- Contact management: a customer can have multiple telephone contacts represented in a related table instead of a single text list.
- Course systems: enrollments are represented as learner-course relationships rather than storing several course identifiers in one learner field.
- AI data collection: individual annotations are stored as distinct records with reviewer and label fields, making their provenance easier to examine than a bundled, inconsistently formatted annotation list.
Think of it this way
Think of a filing system that gives each independently managed item its own entry instead of squeezing several items into one box on a form. The analogy is limited because deciding what counts as one value depends on the domain. A full date may appropriately occupy one field, and an address may need different treatment depending on which parts the application must validate and use.
Worked example
A toy Learner table contains L1 with Courses = “C1,C2” and L2 with Courses = “C1.” If course participation is a relationship, create Enrollment(LearnerID, CourseID) with rows (L1,C1), (L1,C2), and (L2,C1). The learner's own name remains in Learner rather than being repeated as a necessary part of every enrollment. This makes counting enrollments in C1 straightforward: there are two matching rows. It also permits a reference to the Course table for each CourseID. If repeat enrollment attempts are allowed, the pair alone may not identify an enrollment; add the appropriate attempt or enrollment identifier. Moving values into rows does not eliminate the need to understand the actual business rule and choose a correct key.
Illustrative case study
Fictional example: Oak Community Classes receives spreadsheets with Course1, Course2, and Course3 columns. A fourth selection forces staff to add another column, and reports require special handling for each position. The team models course selections as related records and documents whether duplicate selections are allowed. It also checks learners with no selections so they are not lost during conversion. This invented case illustrates a design improvement for a particular relationship, not a claim that every set of numbered columns violates the same formal rule in every interpretation.
Common misconceptions and mistakes
Do not interpret atomic as meaning a value has no internal structure whatsoever. Do not assume adding a primary-key column automatically establishes good normalization. Avoid claiming that 1NF eliminates all redundancy or guarantees third normal form. Also distinguish a conceptual repeating group from a legitimate structured value supported by a chosen database model. The practical question is whether the representation matches the intended facts and operations; oversimplified slogans can obscure that question.
Business use
1NF is a useful starting point for making operational data easier to validate and relate. Review imported spreadsheets and text lists carefully, define keys, and preserve relationships during restructuring. For AI projects, separate observations and annotations when they have independent provenance or lifecycle. Retain original source values when transformation decisions need review. Continue to analyze functional and multivalued dependencies after the initial restructuring, because higher normal forms address problems that the basic single-value principle does not resolve.
People also ask
Does 1NF mean every table has only one row per customer?
No. Row grain depends on what the relation represents; an enrollment table may have many rows for one customer or learner.
Must a date be split into three columns?
No. A date can be one value in an appropriate domain.
Is a 1NF table fully normalized?
Not necessarily. Higher normal forms impose additional conditions on dependencies.
Check your understanding
A table stores one course identifier per cell but repeats the course title in every enrollment row. Does 1NF alone prove the design avoids update anomalies?
Answer: No. The cells may contain single values, but the dependency from CourseID to CourseTitle can still create repeated facts that require further normalization analysis.
Related terms
- Normalization
- Relation
- Candidate key
- Foreign key
- Second normal form (2NF)
- Third normal form (3NF)
- Functional dependency
- atomic value
- repeating group
- second normal form
- third normal form
- row grain
Learn next
convert a small list-valued field into related rows and verify that every original relationship survives. Identify the resulting keys and test empty and repeated cases. Then examine whether facts depending on only part of a key, or on another non-key attribute, remain duplicated.
More in Data engineering and architecture
- FCO-IM - FCO-IM stands for Fully Communication Oriented Information Modeling.
- Federation (information technology) - Federation in information technology is an arrangement in which separately managed systems cooperate through agreed interfaces and rules while retaining a...
- Findability - Findability is the ease with which people can locate the information, content or functions they need.
- Five safes - The Five Safes is a framework for assessing and managing data access through five connected dimensions: safe projects, safe people, safe settings, safe data...
- Flattening transformation - The flattening transformation is a compiler technique that converts nested data-parallel computations into flat data-parallel operations while preserving...
- Flow-based programming - Flow-based programming is a programming approach that defines an application as a network of asynchronous processes exchanging structured information...
Sources
Sources: Cornell Virtual Workshop, First Normal Form, https://cvw.cac.cornell.edu/RelationalDBs/design-create/first_normal_form ; BCcampus, Database Design, second edition, https://opentextbc.ca/dbdesign01/open/download?type=pdf . Institutional and author-created teaching excerpts consulted for atomic values and introductory normalization. The article uses conventional introductory 1NF scope and explicitly qualifies domain-relative atomicity; it does not claim that all modern structured-type debates have one universally agreed interpretation.
Previous: First-hitting-time model Next: First order interaction