{"id":4005,"date":"2026-11-23T22:11:42","date_gmt":"2026-11-23T16:41:42","guid":{"rendered":"https:\/\/www.skillovilla.com\/blogs\/normalization-in-sql"},"modified":"2026-11-23T22:12:04","modified_gmt":"2026-11-23T16:42:04","slug":"normalization-in-sql","status":"publish","type":"post","link":"https:\/\/www.skillovilla.com\/blogs\/normalization-in-sql","title":{"rendered":"Normalization in SQL: 1NF, 2NF and 3NF Explained With One Example"},"content":{"rendered":"<p>Normalization is the process of splitting a database into tables so that each fact is stored in exactly one place. It is done in stages called normal forms: first normal form (1NF) makes every cell hold a single value, second normal form (2NF) removes columns that depend on only part of the key, and third normal form (3NF) removes columns that depend on another non-key column. Most business databases are designed to 3NF.<\/p>\n<p>The point is not tidiness. A table that stores the same fact in several rows will eventually hold two different versions of it, and every report built on it will be wrong in a way nobody notices. This lesson takes one messy order sheet from a textile wholesaler through 1NF, 2NF and 3NF, shows the problems each step removes, then covers BCNF and why analytics warehouses often undo some of it on purpose.<\/p>\n<h2>The normal forms at a glance<\/h2>\n<p>Each normal form includes the ones before it: a table in 3NF is also in 2NF and 1NF.<\/p>\n<table>\n<thead>\n<tr>\n<th>Normal form<\/th>\n<th>The rule<\/th>\n<th>What it removes<\/th>\n<th>Typical fix<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>1NF<\/td>\n<td>Every cell holds one value, and every row is unique<\/td>\n<td>Lists inside a cell, repeating columns such as item1, item2, item3<\/td>\n<td>One row per item, with a key<\/td>\n<\/tr>\n<tr>\n<td>2NF<\/td>\n<td>1NF, and no non-key column depends on only part of a composite key<\/td>\n<td>Partial dependency<\/td>\n<td>Move those columns to a table keyed by that part<\/td>\n<\/tr>\n<tr>\n<td>3NF<\/td>\n<td>2NF, and no non-key column depends on another non-key column<\/td>\n<td>Transitive dependency<\/td>\n<td>Move those columns to a table keyed by the column they depend on<\/td>\n<\/tr>\n<tr>\n<td>BCNF<\/td>\n<td>Every column that determines another column is a candidate key<\/td>\n<td>Rare leftovers that 3NF allows<\/td>\n<td>Split again around the determining column<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>The short version that gets quoted in interviews: every non-key column must depend on the key (1NF), the whole key (2NF), and nothing but the key (3NF).<\/p>\n<h2>The starting point: an order sheet<\/h2>\n<p>A Surat textile wholesaler sells sarees, kurtas and dupattas to retailers in other cities. For years the orders lived in a spreadsheet, one row per order, with all the items typed into one cell. Prices, which appear once the items are split out, are in rupees per piece.<\/p>\n<table>\n<thead>\n<tr>\n<th>order_id<\/th>\n<th>order_date<\/th>\n<th>retailer<\/th>\n<th>city<\/th>\n<th>items<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>1001<\/td>\n<td>2026-10-02<\/td>\n<td>Shree Fabrics<\/td>\n<td>Jaipur<\/td>\n<td>Banarasi saree (2), Cotton kurta (5)<\/td>\n<\/tr>\n<tr>\n<td>1002<\/td>\n<td>2026-10-05<\/td>\n<td>Lakshmi Silks<\/td>\n<td>Indore<\/td>\n<td>Cotton kurta (10), Chiffon dupatta (8)<\/td>\n<\/tr>\n<tr>\n<td>1003<\/td>\n<td>2026-10-09<\/td>\n<td>Shree Fabrics<\/td>\n<td>Jaipur<\/td>\n<td>Chiffon dupatta (6)<\/td>\n<\/tr>\n<tr>\n<td>1004<\/td>\n<td>2026-10-12<\/td>\n<td>Kapoor Garments<\/td>\n<td>Ludhiana<\/td>\n<td>Banarasi saree (4), Cotton kurta (12)<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>This sheet cannot answer &#8220;how many cotton kurtas did we sell in October?&#8221; without someone reading the items text by hand. SQL cannot SUM a number that is buried inside a sentence.<\/p>\n<h2>Step 1: first normal form (1NF)<\/h2>\n<p>1NF has two requirements. Each cell holds one atomic value, so the items list has to be split into one row per product. And each row must be identifiable, so the table needs a key.<\/p>\n<p>After splitting, a row is one product line within one order. Neither order_id nor product_id is unique on its own any more, but the pair is, so the key is the composite (order_id, product_id). The order date is left out below to keep the table narrow; it behaves exactly like retailer_id.<\/p>\n<table>\n<thead>\n<tr>\n<th>order_id<\/th>\n<th>retailer_id<\/th>\n<th>retailer_name<\/th>\n<th>city<\/th>\n<th>product_id<\/th>\n<th>product_name<\/th>\n<th>qty<\/th>\n<th>unit_price<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>1001<\/td>\n<td>R1<\/td>\n<td>Shree Fabrics<\/td>\n<td>Jaipur<\/td>\n<td>P1<\/td>\n<td>Banarasi saree<\/td>\n<td>2<\/td>\n<td>2400<\/td>\n<\/tr>\n<tr>\n<td>1001<\/td>\n<td>R1<\/td>\n<td>Shree Fabrics<\/td>\n<td>Jaipur<\/td>\n<td>P2<\/td>\n<td>Cotton kurta<\/td>\n<td>5<\/td>\n<td>450<\/td>\n<\/tr>\n<tr>\n<td>1002<\/td>\n<td>R2<\/td>\n<td>Lakshmi Silks<\/td>\n<td>Indore<\/td>\n<td>P2<\/td>\n<td>Cotton kurta<\/td>\n<td>10<\/td>\n<td>450<\/td>\n<\/tr>\n<tr>\n<td>1002<\/td>\n<td>R2<\/td>\n<td>Lakshmi Silks<\/td>\n<td>Indore<\/td>\n<td>P3<\/td>\n<td>Chiffon dupatta<\/td>\n<td>8<\/td>\n<td>300<\/td>\n<\/tr>\n<tr>\n<td>1003<\/td>\n<td>R1<\/td>\n<td>Shree Fabrics<\/td>\n<td>Jaipur<\/td>\n<td>P3<\/td>\n<td>Chiffon dupatta<\/td>\n<td>6<\/td>\n<td>300<\/td>\n<\/tr>\n<tr>\n<td>1004<\/td>\n<td>R3<\/td>\n<td>Kapoor Garments<\/td>\n<td>Ludhiana<\/td>\n<td>P1<\/td>\n<td>Banarasi saree<\/td>\n<td>4<\/td>\n<td>2300<\/td>\n<\/tr>\n<tr>\n<td>1004<\/td>\n<td>R3<\/td>\n<td>Kapoor Garments<\/td>\n<td>Ludhiana<\/td>\n<td>P2<\/td>\n<td>Cotton kurta<\/td>\n<td>12<\/td>\n<td>450<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Now SUM(qty) WHERE product_name = &#8216;Cotton kurta&#8217; works: 27 kurtas. But look at what is repeated. &#8220;Shree Fabrics, Jaipur&#8221; appears three times, &#8220;Cotton kurta&#8221; three times. Each repeat is a chance for the copies to disagree. This is the problem the next two steps solve, and it shows up as three anomalies:<\/p>\n<ul>\n<li><strong>Update anomaly.<\/strong> Shree Fabrics moves to Ajmer. Someone changes two of its three rows and misses the third. The database now says the retailer is in two cities at once, and a city-wise sales report splits its revenue.<\/li>\n<li><strong>Insert anomaly.<\/strong> The wholesaler adds a new product, a Kanjivaram saree, before anyone orders it. There is no order_id to put it under, so it cannot be recorded without inventing a fake order.<\/li>\n<li><strong>Delete anomaly.<\/strong> Kapoor Garments cancels order 1004 and the rows are deleted. Kapoor Garments, its city, and the fact that it was ever a customer disappear with them.<\/li>\n<\/ul>\n<h2>Step 2: second normal form (2NF)<\/h2>\n<p>2NF applies when the key is composite. It says every non-key column must depend on the whole key, not on part of it.<\/p>\n<p>Check each column against (order_id, product_id):<\/p>\n<table>\n<thead>\n<tr>\n<th>Column<\/th>\n<th>Depends on<\/th>\n<th>Problem<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>retailer_id, retailer_name, city, order_date<\/td>\n<td>order_id only<\/td>\n<td>Partial dependency<\/td>\n<\/tr>\n<tr>\n<td>product_name<\/td>\n<td>product_id only<\/td>\n<td>Partial dependency<\/td>\n<\/tr>\n<tr>\n<td>qty<\/td>\n<td>order_id and product_id together<\/td>\n<td>None; this is a fact about one product in one order<\/td>\n<\/tr>\n<tr>\n<td>unit_price<\/td>\n<td>order_id and product_id together<\/td>\n<td>None; see the note below<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Move each group to a table keyed by the column it depends on. That gives three tables: orders, products and order_items.<\/p>\n<table>\n<thead>\n<tr>\n<th>Table<\/th>\n<th>Columns<\/th>\n<th>Key<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>orders<\/td>\n<td>order_id, order_date, retailer_id, retailer_name, city<\/td>\n<td>order_id<\/td>\n<\/tr>\n<tr>\n<td>products<\/td>\n<td>product_id, product_name, list_price<\/td>\n<td>product_id<\/td>\n<\/tr>\n<tr>\n<td>order_items<\/td>\n<td>order_id, product_id, qty, unit_price<\/td>\n<td>order_id and product_id<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Product names are now stored once. A product can exist in the products table before anyone orders it, which fixes the insert anomaly for products.<\/p>\n<p>A note on unit_price, because it is a real design decision and a good interview answer. Order 1004 sold Banarasi sarees at 2,300, not the usual 2,400, because Kapoor Garments negotiated a discount. If price lived only in the products table, that order&#8217;s revenue would be recalculated wrongly the moment anyone changed the list price. So the price actually charged belongs in order_items, where it depends on the whole key, and the current list price belongs in products. They look like duplicates and are two different facts.<\/p>\n<h2>Step 3: third normal form (3NF)<\/h2>\n<p>3NF says no non-key column may depend on another non-key column. That kind of chain is called a transitive dependency.<\/p>\n<p>The orders table still has one. retailer_name and city depend on retailer_id, and retailer_id depends on order_id. They describe the retailer, not the order. Shree Fabrics still appears in two order rows, so the update and delete anomalies for retailers have not gone away.<\/p>\n<p>Move the retailer columns into their own table:<\/p>\n<table>\n<thead>\n<tr>\n<th>Table<\/th>\n<th>Columns<\/th>\n<th>Key<\/th>\n<th>Links to<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>retailers<\/td>\n<td>retailer_id, retailer_name, city<\/td>\n<td>retailer_id<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>orders<\/td>\n<td>order_id, order_date, retailer_id<\/td>\n<td>order_id<\/td>\n<td>retailers<\/td>\n<\/tr>\n<tr>\n<td>products<\/td>\n<td>product_id, product_name, list_price<\/td>\n<td>product_id<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>order_items<\/td>\n<td>order_id, product_id, qty, unit_price<\/td>\n<td>order_id and product_id<\/td>\n<td>orders, products<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>The retailers table now holds three rows, one per retailer:<\/p>\n<table>\n<thead>\n<tr>\n<th>retailer_id<\/th>\n<th>retailer_name<\/th>\n<th>city<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>R1<\/td>\n<td>Shree Fabrics<\/td>\n<td>Jaipur<\/td>\n<\/tr>\n<tr>\n<td>R2<\/td>\n<td>Lakshmi Silks<\/td>\n<td>Indore<\/td>\n<\/tr>\n<tr>\n<td>R3<\/td>\n<td>Kapoor Garments<\/td>\n<td>Ludhiana<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>All three anomalies are gone. Shree Fabrics moving to Ajmer is a one-row update. A new retailer can be added before it orders. Deleting an order leaves the retailer in place. The links between tables are foreign keys, and with them declared, the database refuses an order for a retailer_id that does not exist: an insert with retailer R9 fails with a foreign key error. Our lesson on primary keys and foreign keys in SQL covers those constraints in detail, and the CREATE TABLE statements that build each table are in <a href=\"https:\/\/www.skillovilla.com\/blogs\/ddl-commands-in-sql\">DDL commands in SQL<\/a>.<\/p>\n<h2>Getting the report back: joins<\/h2>\n<p>Normalization spreads a fact across tables, so analysis pulls it back together with joins. Revenue by retailer from the four 3NF tables:<\/p>\n<table>\n<thead>\n<tr>\n<th>Part<\/th>\n<th>SQL<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Columns<\/td>\n<td>SELECT r.retailer_name, r.city, COUNT(DISTINCT o.order_id) AS orders, SUM(i.qty * i.unit_price) AS revenue<\/td>\n<\/tr>\n<tr>\n<td>Start from retailers<\/td>\n<td>FROM retailers r<\/td>\n<\/tr>\n<tr>\n<td>Add orders<\/td>\n<td>JOIN orders o ON o.retailer_id = r.retailer_id<\/td>\n<\/tr>\n<tr>\n<td>Add order lines<\/td>\n<td>JOIN order_items i ON i.order_id = o.order_id<\/td>\n<\/tr>\n<tr>\n<td>Group and sort<\/td>\n<td>GROUP BY r.retailer_id, r.retailer_name, r.city ORDER BY revenue DESC<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<table>\n<thead>\n<tr>\n<th>retailer_name<\/th>\n<th>city<\/th>\n<th>orders<\/th>\n<th>revenue<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Kapoor Garments<\/td>\n<td>Ludhiana<\/td>\n<td>1<\/td>\n<td>14600<\/td>\n<\/tr>\n<tr>\n<td>Shree Fabrics<\/td>\n<td>Jaipur<\/td>\n<td>2<\/td>\n<td>8850<\/td>\n<\/tr>\n<tr>\n<td>Lakshmi Silks<\/td>\n<td>Indore<\/td>\n<td>1<\/td>\n<td>6900<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Note COUNT(DISTINCT o.order_id). After the join to order_items, Shree Fabrics has three rows, one per product line, so a plain COUNT would say three orders. Counting at the wrong level after a join is the most common error analysts make on normalized data; our <a href=\"https:\/\/www.skillovilla.com\/blogs\/sql-joins\">SQL joins guide<\/a> covers how joins multiply rows.<\/p>\n<h2>Beyond 3NF: BCNF, 4NF and 5NF<\/h2>\n<p>Boyce-Codd normal form (BCNF) tightens 3NF for an unusual case: a table with overlapping candidate keys, where a non-key column determines part of a key. The textbook example is a coaching institute in which each faculty member teaches exactly one subject and each student takes each subject with one faculty member. A table of (student, subject, faculty) is in 3NF, yet faculty determines subject, and faculty is not a key. Splitting it into (faculty, subject) and (student, faculty) reaches BCNF.<\/p>\n<p>4NF and 5NF deal with independent multi-valued facts and join dependencies. They come up in database design courses and almost never in analyst work. For interviews, know 1NF to 3NF thoroughly and be able to state what BCNF adds.<\/p>\n<h2>Denormalization: why warehouses undo some of it<\/h2>\n<p>Normalization is the right design for systems that write data all day, such as an order system taking thousands of orders an hour. Each fact in one place makes writes safe.<\/p>\n<p>Analytics has the opposite workload: few writes, many large reads. A report that joins eight normalized tables on every refresh is slow. So data warehouses deliberately denormalize into a star schema: one large fact table (one row per order line, with quantities and amounts) surrounded by dimension tables (retailer, product, date) that repeat descriptive columns freely. Power BI models and tools such as Snowflake and BigQuery are built around this shape.<\/p>\n<table>\n<thead>\n<tr>\n<th><\/th>\n<th>Normalized (3NF)<\/th>\n<th>Denormalized (star schema)<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Built for<\/td>\n<td>Recording transactions<\/td>\n<td>Reading and reporting<\/td>\n<\/tr>\n<tr>\n<td>Each fact stored<\/td>\n<td>Once<\/td>\n<td>Sometimes repeated<\/td>\n<\/tr>\n<tr>\n<td>Joins per report<\/td>\n<td>Many<\/td>\n<td>Few<\/td>\n<\/tr>\n<tr>\n<td>Risk<\/td>\n<td>Slow, complex queries<\/td>\n<td>Copies drifting out of sync if loads are careless<\/td>\n<\/tr>\n<tr>\n<td>Where you meet it<\/td>\n<td>The app&#8217;s production database<\/td>\n<td>The warehouse and BI model<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>As an analyst you will usually query both: the warehouse for dashboards, and the normalized source when a warehouse number looks wrong and you need to check it.<\/p>\n<h2>Mistakes people make with normalization<\/h2>\n<p><strong>Treating a comma-separated list as one value.<\/strong> &#8220;P1,P2,P5&#8221; in a column breaks 1NF, and every query on it becomes a LIKE &#8216;%P2%&#8217; search that also matches P25.<\/p>\n<p><strong>Moving a fact that only looks duplicated.<\/strong> The price charged on an order and the product&#8217;s current price are different facts. Normalizing them into one column destroys order history.<\/p>\n<p><strong>Normalizing for its own sake.<\/strong> Splitting a pincode into a separate table to remove the city that depends on it is valid 3NF and usually not worth it. Stop where the anomalies stop costing you.<\/p>\n<p><strong>Forgetting the foreign keys.<\/strong> Splitting tables without declaring the links lets orphan rows in, such as orders for retailers that no longer exist.<\/p>\n<p>Normalization questions appear in nearly every fresher round; our <a href=\"https:\/\/www.skillovilla.com\/blogs\/sql-interview-questions\">SQL interview questions<\/a> include them, and the <a href=\"https:\/\/www.skillovilla.com\/blogs\/sql-database-types\">SQL database types guide<\/a> explains how relational databases, where normalization applies, differ from NoSQL stores, where it mostly does not.<\/p>\n<h2>Frequently asked questions<\/h2>\n<h3>What is normalization in SQL?<\/h3>\n<p>Normalization is the process of organising a relational database into tables so that each fact is stored once, linked by primary and foreign keys. It removes redundant data and prevents update, insert and delete anomalies. It is done in stages called normal forms, usually up to third normal form.<\/p>\n<h3>What are 1NF, 2NF and 3NF?<\/h3>\n<p>1NF requires each cell to hold a single value and each row to be unique. 2NF additionally requires every non-key column to depend on the whole primary key, which matters when the key has more than one column. 3NF additionally requires that no non-key column depends on another non-key column, so every column describes the key and nothing else.<\/p>\n<h3>What is the difference between 2NF and 3NF?<\/h3>\n<p>2NF removes partial dependencies, where a column depends on only part of a composite key, such as a product name depending only on product_id in an order-lines table. 3NF removes transitive dependencies, where a column depends on another non-key column, such as a retailer&#8217;s city depending on retailer_id inside an orders table.<\/p>\n<h3>What is BCNF?<\/h3>\n<p>Boyce-Codd normal form is a stricter version of 3NF. It requires that every column which determines another column is a candidate key. Most tables in 3NF are already in BCNF; the difference appears only in tables with overlapping candidate keys, which are uncommon in business data.<\/p>\n<h3>What are anomalies in a database?<\/h3>\n<p>Anomalies are problems caused by storing the same fact in several places. An update anomaly is when changing a fact in one row but not another leaves the data contradictory. An insert anomaly is when you cannot record something without unrelated data, and a delete anomaly is when deleting one row removes a fact you needed.<\/p>\n<h3>Is normalization always good?<\/h3>\n<p>No. It is the right choice for transactional databases that are written to constantly, because it keeps data consistent. For analytics and reporting, warehouses often denormalize into star schemas so that queries need fewer joins and run faster. The trade-off is that the load process must keep repeated values in sync.<\/p>\n<h2>Learn to read the database you are given<\/h2>\n<p>Analysts rarely design databases from scratch, but they constantly query normalized ones, and knowing why the data is split the way it is tells you which joins are safe and which ones will double-count.<\/p>\n<p>SkilloVilla&#8217;s <a href=\"https:\/\/www.skillovilla.com\/courses\/sql-beginner-to-advanced\">SQL: Beginner to Advanced course<\/a> covers creating databases, aggregation, joins and advanced SQL statements, taught in live classes with mentor support and practice on SQL playgrounds. If you want SQL as part of a full analyst programme with Excel, Python, Power BI and placement support, see the <a href=\"https:\/\/www.skillovilla.com\/tracks\/data-analytics-python\">Data Analytics with Python track<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Normalization in SQL explained: 1NF, 2NF, 3NF and BCNF worked through one real order sheet, the anomalies they prevent, and when to denormalize.<\/p>\n","protected":false},"author":27,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[200],"tags":[],"class_list":["post-4005","post","type-post","status-publish","format-standard","hentry","category-data-analytics"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v23.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Normalization in SQL: 1NF, 2NF and 3NF Explained With One Example<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.skillovilla.com\/blogs\/normalization-in-sql\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Normalization in SQL: 1NF, 2NF and 3NF Explained With One Example\" \/>\n<meta property=\"og:description\" content=\"Normalization in SQL explained: 1NF, 2NF, 3NF and BCNF worked through one real order sheet, the anomalies they prevent, and when to denormalize.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.skillovilla.com\/blogs\/normalization-in-sql\" \/>\n<meta property=\"og:site_name\" content=\"SkilloVilla\" \/>\n<meta property=\"article:published_time\" content=\"2026-11-23T16:41:42+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-11-23T16:42:04+00:00\" \/>\n<meta name=\"author\" content=\"SkilloVilla Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"SkilloVilla Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"11 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.skillovilla.com\/blogs\/normalization-in-sql#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.skillovilla.com\/blogs\/normalization-in-sql\"},\"author\":{\"name\":\"SkilloVilla Team\",\"@id\":\"https:\/\/www.skillovilla.com\/blogs\/#\/schema\/person\/f64a2675b6d238b7e44744a87e5c4943\"},\"headline\":\"Normalization in SQL: 1NF, 2NF and 3NF Explained With One Example\",\"datePublished\":\"2026-11-23T16:41:42+00:00\",\"dateModified\":\"2026-11-23T16:42:04+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.skillovilla.com\/blogs\/normalization-in-sql\"},\"wordCount\":2358,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.skillovilla.com\/blogs\/#organization\"},\"articleSection\":[\"Data analytics\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.skillovilla.com\/blogs\/normalization-in-sql#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.skillovilla.com\/blogs\/normalization-in-sql\",\"url\":\"https:\/\/www.skillovilla.com\/blogs\/normalization-in-sql\",\"name\":\"Normalization in SQL: 1NF, 2NF and 3NF Explained With One Example\",\"isPartOf\":{\"@id\":\"https:\/\/www.skillovilla.com\/blogs\/#website\"},\"datePublished\":\"2026-11-23T16:41:42+00:00\",\"dateModified\":\"2026-11-23T16:42:04+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.skillovilla.com\/blogs\/normalization-in-sql#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.skillovilla.com\/blogs\/normalization-in-sql\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.skillovilla.com\/blogs\/normalization-in-sql#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.skillovilla.com\/blogs\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Normalization in SQL: 1NF, 2NF and 3NF Explained With One Example\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.skillovilla.com\/blogs\/#website\",\"url\":\"https:\/\/www.skillovilla.com\/blogs\/\",\"name\":\"SkilloVilla\",\"description\":\"Data careers, taught live\",\"publisher\":{\"@id\":\"https:\/\/www.skillovilla.com\/blogs\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.skillovilla.com\/blogs\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.skillovilla.com\/blogs\/#organization\",\"name\":\"SkilloVilla\",\"url\":\"https:\/\/www.skillovilla.com\/blogs\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.skillovilla.com\/blogs\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.skillovilla.com\/blogs\/wp-content\/uploads\/2021\/07\/logo-thumbnail.png\",\"contentUrl\":\"https:\/\/www.skillovilla.com\/blogs\/wp-content\/uploads\/2021\/07\/logo-thumbnail.png\",\"width\":1200,\"height\":627,\"caption\":\"SkilloVilla\"},\"image\":{\"@id\":\"https:\/\/www.skillovilla.com\/blogs\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.skillovilla.com\/blogs\/#\/schema\/person\/f64a2675b6d238b7e44744a87e5c4943\",\"name\":\"SkilloVilla Team\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.skillovilla.com\/blogs\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/5e0b6f9e8405f5d6fc302700051e351ffa38fb1cf2709a0cb4e96b5622c497d0?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/5e0b6f9e8405f5d6fc302700051e351ffa38fb1cf2709a0cb4e96b5622c497d0?s=96&d=mm&r=g\",\"caption\":\"SkilloVilla Team\"},\"url\":\"https:\/\/www.skillovilla.com\/blogs\/author\/sankalp_agarwal\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Normalization in SQL: 1NF, 2NF and 3NF Explained With One Example","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.skillovilla.com\/blogs\/normalization-in-sql","og_locale":"en_US","og_type":"article","og_title":"Normalization in SQL: 1NF, 2NF and 3NF Explained With One Example","og_description":"Normalization in SQL explained: 1NF, 2NF, 3NF and BCNF worked through one real order sheet, the anomalies they prevent, and when to denormalize.","og_url":"https:\/\/www.skillovilla.com\/blogs\/normalization-in-sql","og_site_name":"SkilloVilla","article_published_time":"2026-11-23T16:41:42+00:00","article_modified_time":"2026-11-23T16:42:04+00:00","author":"SkilloVilla Team","twitter_card":"summary_large_image","twitter_misc":{"Written by":"SkilloVilla Team","Est. reading time":"11 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.skillovilla.com\/blogs\/normalization-in-sql#article","isPartOf":{"@id":"https:\/\/www.skillovilla.com\/blogs\/normalization-in-sql"},"author":{"name":"SkilloVilla Team","@id":"https:\/\/www.skillovilla.com\/blogs\/#\/schema\/person\/f64a2675b6d238b7e44744a87e5c4943"},"headline":"Normalization in SQL: 1NF, 2NF and 3NF Explained With One Example","datePublished":"2026-11-23T16:41:42+00:00","dateModified":"2026-11-23T16:42:04+00:00","mainEntityOfPage":{"@id":"https:\/\/www.skillovilla.com\/blogs\/normalization-in-sql"},"wordCount":2358,"commentCount":0,"publisher":{"@id":"https:\/\/www.skillovilla.com\/blogs\/#organization"},"articleSection":["Data analytics"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.skillovilla.com\/blogs\/normalization-in-sql#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.skillovilla.com\/blogs\/normalization-in-sql","url":"https:\/\/www.skillovilla.com\/blogs\/normalization-in-sql","name":"Normalization in SQL: 1NF, 2NF and 3NF Explained With One Example","isPartOf":{"@id":"https:\/\/www.skillovilla.com\/blogs\/#website"},"datePublished":"2026-11-23T16:41:42+00:00","dateModified":"2026-11-23T16:42:04+00:00","breadcrumb":{"@id":"https:\/\/www.skillovilla.com\/blogs\/normalization-in-sql#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.skillovilla.com\/blogs\/normalization-in-sql"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.skillovilla.com\/blogs\/normalization-in-sql#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.skillovilla.com\/blogs"},{"@type":"ListItem","position":2,"name":"Normalization in SQL: 1NF, 2NF and 3NF Explained With One Example"}]},{"@type":"WebSite","@id":"https:\/\/www.skillovilla.com\/blogs\/#website","url":"https:\/\/www.skillovilla.com\/blogs\/","name":"SkilloVilla","description":"Data careers, taught live","publisher":{"@id":"https:\/\/www.skillovilla.com\/blogs\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.skillovilla.com\/blogs\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.skillovilla.com\/blogs\/#organization","name":"SkilloVilla","url":"https:\/\/www.skillovilla.com\/blogs\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.skillovilla.com\/blogs\/#\/schema\/logo\/image\/","url":"https:\/\/www.skillovilla.com\/blogs\/wp-content\/uploads\/2021\/07\/logo-thumbnail.png","contentUrl":"https:\/\/www.skillovilla.com\/blogs\/wp-content\/uploads\/2021\/07\/logo-thumbnail.png","width":1200,"height":627,"caption":"SkilloVilla"},"image":{"@id":"https:\/\/www.skillovilla.com\/blogs\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.skillovilla.com\/blogs\/#\/schema\/person\/f64a2675b6d238b7e44744a87e5c4943","name":"SkilloVilla Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.skillovilla.com\/blogs\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/5e0b6f9e8405f5d6fc302700051e351ffa38fb1cf2709a0cb4e96b5622c497d0?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/5e0b6f9e8405f5d6fc302700051e351ffa38fb1cf2709a0cb4e96b5622c497d0?s=96&d=mm&r=g","caption":"SkilloVilla Team"},"url":"https:\/\/www.skillovilla.com\/blogs\/author\/sankalp_agarwal"}]}},"_links":{"self":[{"href":"https:\/\/www.skillovilla.com\/blogs\/wp-json\/wp\/v2\/posts\/4005","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.skillovilla.com\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.skillovilla.com\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.skillovilla.com\/blogs\/wp-json\/wp\/v2\/users\/27"}],"replies":[{"embeddable":true,"href":"https:\/\/www.skillovilla.com\/blogs\/wp-json\/wp\/v2\/comments?post=4005"}],"version-history":[{"count":1,"href":"https:\/\/www.skillovilla.com\/blogs\/wp-json\/wp\/v2\/posts\/4005\/revisions"}],"predecessor-version":[{"id":4006,"href":"https:\/\/www.skillovilla.com\/blogs\/wp-json\/wp\/v2\/posts\/4005\/revisions\/4006"}],"wp:attachment":[{"href":"https:\/\/www.skillovilla.com\/blogs\/wp-json\/wp\/v2\/media?parent=4005"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.skillovilla.com\/blogs\/wp-json\/wp\/v2\/categories?post=4005"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.skillovilla.com\/blogs\/wp-json\/wp\/v2\/tags?post=4005"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}