Normalisation: 0NF to 3NF – Grade 13 A/L ICT Notes 8.7

© 2026 schoolict.net (Ruwan Mangala Suraweera)

8.7 Normalisation: 0NF to 3NFසාමාන්‍යකරණය: 0NF සිට 3NF දක්වා

Grade 13 A/L ICT · Lesson 813 ශ්‍රේණිය A/L ICT · පාඩම 8

Prints all tabs in the language you are reading. Use “Save as PDF” in the print window to keep a copy.ඔබ කියවන භාෂාවෙන් සියලු tabs මුද්‍රණය වේ. පිටපතක් තියාගන්න print window එකේ “Save as PDF” තෝරන්න.
🎬Video coming soon in this language. Switch language to watch the other video.මේ භාෂාවෙන් වීඩියෝව ඉක්මනින් එනවා. අනෙක් වීඩියෝව බලන්න භාෂාව මාරු කරන්න.

In this videoමේ වීඩියෝවේ

  • Redundancy causes insert, update and delete anomalies.අතිරික්තතාව විෂමතා ඇති කරයි.
  • 1NF: atomic values, no repeating groups.1NF: පරමාණුක, පුනරාවර්තන නැත.
  • 2NF: remove partial dependencies.2NF: අර්ධ පරායත්තතා ඉවත් කරන්න.
  • 3NF: remove transitive dependencies.3NF: සංක්‍රාන්ති පරායත්තතා ඉවත් කරන්න.
  • A good decomposition is lossless – joins rebuild the data.හොඳ බෙදීමක් අහිමි නොවේ – join මගින් දත්ත නැවත ලැබේ.
NormalisationInsert anomalyUpdate anomalyDelete anomalyFunctional dependencyFull dependencyPartial dependency

Notesසටහන්

Syllabus 8.7. A badly designed table repeats data and suffers insert, update and delete anomalies. Normalisation splits it using functional dependencies (full, partial and transitive) through zero, first, second and third normal form.විෂය නිර්දේශය 8.7. නරක ලෙස සැලසුම් කළ වගුවක් දත්ත පුනරාවර්තනය කර ඇතුළත් කිරීමේ, යාවත්කාලීන කිරීමේ සහ මකා දැමීමේ විෂමතා ඇති කරයි. සාමාන්‍යකරණය ක්‍රියාකාරී පරායත්තතා (පූර්ණ, අර්ධ, සංක්‍රාන්ති) භාවිතයෙන් ශුන්‍ය, පළමු, දෙවන සහ තෙවන සාමාන්‍ය ආකෘති හරහා එය බෙදයි.

1. Redundancy and anomalies1. අතිරික්තතාව සහ විෂමතා

OrderNoOrderNoDateDateCustIDCustIDCustNameCustNameItemCodeItemCodeItemNameItemNameQtyQtyPricePrice
100110012026-03-012026-03-01C01C01PereraPereraP1P1PenPen335050
100110012026-03-012026-03-01C01C01PereraPereraP2P2BookBook22200200
100210022026-03-022026-03-02C02C02SilvaSilvaP1P1PenPen555050
100310032026-03-022026-03-02C01C01PereraPereraP2P2BookBook11200200
100310032026-03-022026-03-02C01C01PereraPereraP3P3RulerRuler448080
  • Insert anomaly – a new item cannot be stored until someone orders it.ඇතුළත් කිරීමේ විෂමතාව – කවුරුන් හෝ ඇණවුම් කරන තුරු නව භාණ්ඩයක් ගබඩා කළ නොහැක.
  • Update anomaly – Perera appears in 4 rows; changing the name in one row only makes data inconsistent.යාවත්කාලීන විෂමතාව – Perera පේළි 4 ක ඇත; එකක පමණක් වෙනස් කළොත් දත්ත අසංගත වේ.
  • Delete anomaly – deleting order 1002 also loses customer Silva.මකා දැමීමේ විෂමතාව – ඇණවුම 1002 මැකීමෙන් Silva පාරිභෝගිකයා ද නැති වේ.

2. Functional dependencies2. ක්‍රියාකාරී පරායත්තතා

A → B means each value of A fixes one value of B. With key (OrderNo, ItemCode): full – (OrderNo, ItemCode) → Qty; partial – OrderNo → Date, CustID and ItemCode → ItemName, Price; transitive – OrderNo → CustID → CustName.A → B යනු A හි එක් එක් අගය B හි එක් අගයක් නියම කිරීමයි. යතුර (OrderNo, ItemCode): පූර්ණ – (OrderNo, ItemCode) → Qty; අර්ධ – OrderNo → Date, CustID සහ ItemCode → ItemName, Price; සංක්‍රාන්ති – OrderNo → CustID → CustName.

Normalisation steps0NFrepeating groups1NFatomic values no repeats2NFno partial dependency3NFno transitive dependencyEach step removes a cause of insert, update and delete anomalies.
Steps of normalisationසාමාන්‍යකරණ පියවර

3. Normal forms3. සාමාන්‍ය ආකෘති

1
0NF0NF
Unnormalised: repeating groups (several items in one order row).සාමාන්‍යකරණය නොකළ: පුනරාවර්තන කාණ්ඩ.
2
1NF1NF
Atomic values, no repeating groups; a key is chosen.පරමාණුක අගයන්, පුනරාවර්තන කාණ්ඩ නැත; යතුරක් තෝරයි.
3
2NF2NF
1NF and no partial dependency on part of a composite key.1NF සහ සංයුක්ත යතුරේ කොටසක් මත අර්ධ පරායත්තතා නැත.
4
3NF3NF
2NF and no transitive dependency between non-key attributes.2NF සහ යතුරු නොවන උපලක්ෂණ අතර සංක්‍රාන්ති පරායත්තතා නැත.
🧮 Worked exampleවිසඳූ උදාහරණය Normalise the order data to 3NF and check that nothing is lost.ඇණවුම් දත්ත 3NF දක්වා සාමාන්‍යකරණය කර කිසිවක් නැති නොවූ බව පරීක්ෂා කරන්න.
0NF has 3 orders with repeating items → 1NF: 5 rows (key OrderNo + ItemCode). Remove partial dependencies → 2NF: Order(OrderNo, Date, CustID, CustName), Item(ItemCode, ItemName, Price), OrderLine(OrderNo, ItemCode, Qty). Remove the transitive CustID → CustName → 3NF: 4 tables (Customer split off). Joining them in sqlite3 gives back exactly the 1NF rows (lossless). Cells: 40 → 37. Order totals: 1001 = Rs. 550, 1002 = Rs. 250, 1003 = Rs. 520.0NF → 1NF: පේළි 5 (යතුර OrderNo + ItemCode). අර්ධ පරායත්තතා ඉවත් කර → 2NF: Order, Item, OrderLine. සංක්‍රාන්ති CustID → CustName ඉවත් කර → 3NF: වගු 4. sqlite3 තුළ join කළ විට 1NF පේළි නිවැරදිව ලැබේ (අහිමි නොවේ). කොටු: 40 → 37. ඇණවුම් එකතු: 1001 = Rs. 550, 1002 = Rs. 250, 1003 = Rs. 520.

📝 3NF schema3NF ක්‍රමානුරූපය

Customer(CustID, CustName)
Order(OrderNo, Date, CustID)        -- FK CustID
Item(ItemCode, ItemName, Price)
OrderLine(OrderNo, ItemCode, Qty)   -- PK (OrderNo, ItemCode)
💡 2NF only matters when the key is composite; a single-column key in 1NF is already in 2NF.2NF වැදගත් වන්නේ සංයුක්ත යතුරක් ඇති විට පමණි; තනි තීරු යතුරක් ඇති 1NF දැනටමත් 2NF වේ.
🚀 Beyond the syllabus (2026 update)🚀 විෂය නිර්දේශයෙන් ඔබ්බට (2026 යාවත්කාලීනය) Not required for the exam – read for interest.විභාගයට අවශ්‍ය නැත – දැනුම සඳහා කියවන්න. Big data warehouses in 2026 sometimes denormalise on purpose for faster reports, but day-to-day systems stay in 3NF.2026 විශාල දත්ත ගබඩා වේගවත් වාර්තා සඳහා හිතාමතා denormalise කරයි; නමුත් දෛනික පද්ධති 3NF හි පවතී.

Key Wordsප්‍රධාන පද

Normalisationසාමාන්‍යකරණය
Process of organising tables to reduce redundancy and anomalies.අතිරික්තතාව සහ විෂමතා අඩු කිරීමට වගු සංවිධානය කිරීම.
Insert anomalyඇතුළත් කිරීමේ විෂමතාව
Cannot add data without unrelated other data.වෙනත් දත්ත නැතිව දත්ත එක් කළ නොහැකි වීම.
Update anomalyයාවත්කාලීන විෂමතාව
Changing repeated data in some rows only leaves inconsistency.සමහර පේළිවල පමණක් වෙනස් කිරීමෙන් අසංගතතාව.
Delete anomalyමකා දැමීමේ විෂමතාව
Deleting a row also loses other needed facts.පේළියක් මැකීමෙන් අවශ්‍ය වෙනත් කරුණු නැති වීම.
Functional dependencyක්‍රියාකාරී පරායත්තතාව
A value of one attribute set determines another attribute.එක් උපලක්ෂණ කට්ටලයක අගය තවත් උපලක්ෂණයක් තීරණය කිරීම.
Full dependencyපූර්ණ පරායත්තතාව
Attribute depends on the whole composite key.උපලක්ෂණය සම්පූර්ණ සංයුක්ත යතුර මත රඳා පැවතීම.
Partial dependencyඅර්ධ පරායත්තතාව
Attribute depends on only part of a composite key.උපලක්ෂණය සංයුක්ත යතුරේ කොටසක් මත පමණක් රඳා පැවතීම.
Transitive dependencyසංක්‍රාන්ති පරායත්තතාව
Non-key attribute depends on another non-key attribute.යතුරු නොවන උපලක්ෂණයක් තවත් එකක් මත රඳා පැවතීම.
Zero normal formශුන්‍ය සාමාන්‍ය ආකෘතිය
Unnormalised data with repeating groups.පුනරාවර්තන කාණ්ඩ ඇති සාමාන්‍යකරණය නොකළ දත්ත.
First normal formපළමු සාමාන්‍ය ආකෘතිය
Atomic values and no repeating groups.පරමාණුක අගයන් සහ පුනරාවර්තන කාණ්ඩ නැත.
Second normal formදෙවන සාමාන්‍ය ආකෘතිය
1NF with no partial dependencies.අර්ධ පරායත්තතා නැති 1NF.
Third normal formතෙවන සාමාන්‍ය ආකෘතිය
2NF with no transitive dependencies.සංක්‍රාන්ති පරායත්තතා නැති 2NF.

Sample Q&Aආදර්ශ ප්‍රශ්න සහ පිළිතුරු

1What is an update anomaly?යාවත්කාලීන විෂමතාව?

Answerපිළිතුර: Repeated data changed in only some rows becomes inconsistent.සමහර පේළිවල පමණක් වෙනස් වීමෙන් අසංගතතාව.

2Give a partial dependency in the order table.අර්ධ පරායත්තතාවක්.

Answerපිළිතුර: ItemCode → ItemName, Price (part of the key).ItemCode → ItemName, Price.

3Give the transitive dependency.සංක්‍රාන්ති පරායත්තතාව.

Answerපිළිතුර: OrderNo → CustID → CustName.OrderNo → CustID → CustName.

4How many rows in 1NF?1NF පේළි ගණන?

Answerපිළිතුර: 5.5.

5How many tables in 3NF?3NF වගු ගණන?

Answerපිළිතුර: 4: Customer, Order, Item, OrderLine.4.

6Condition for 3NF?3NF කොන්දේසිය?

Answerපිළිතුර: In 2NF and no transitive dependency.2NF සහ සංක්‍රාන්ති පරායත්තතා නැත.

MCQබහුවරණ ප්‍රශ්න

Choose the correct answer for each question.සෑම ප්‍රශ්නයකටම නිවැරදි පිළිතුර තෝරන්න.

Scoreලකුණු: 0 / 20

1Data with repeating groups is inපුනරාවර්තන කාණ්ඩ

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: D

Unnormalised.සාමාන්‍යකරණය නොකළ.

2Removing repeating groups givesපුනරාවර්තන ඉවත්

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: A

1NF.1NF.

3ItemCode → ItemName with key (OrderNo, ItemCode) is aItemCode → ItemName

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: B

Part of key.යතුරේ කොටස.

4OrderNo → CustID → CustName is aCustName

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: C

Via non-key.යතුරු නොවන හරහා.

5(OrderNo, ItemCode) → Qty is aQty

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: A

Whole key.සම්පූර්ණ යතුර.

6The order data in 1NF has1NF පේළි

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: D

Each item line.සෑම භාණ්ඩ පේළියක්ම.

7Losing customer Silva when order 1002 is deleted is aSilva

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: E

Delete.මකා දැමීම.

8The 3NF design of the order data has3NF

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: C

Customer, Order, Item, OrderLine.වගු 4.

9Which term means: “Process of organising tables to reduce redundancy and anomalies”?“අතිරික්තතාව සහ විෂමතා අඩු කිරීමට වගු සංවිධානය කිරීම” යන්නෙන් අදහස් වන පදය කුමක්ද?

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: B

Normalisation – Process of organising tables to reduce redundancy and anomalies.සාමාන්‍යකරණය – අතිරික්තතාව සහ විෂමතා අඩු කිරීමට වගු සංවිධානය කිරීම.

10Which term means: “Cannot add data without unrelated other data”?“වෙනත් දත්ත නැතිව දත්ත එක් කළ නොහැකි වීම” යන්නෙන් අදහස් වන පදය කුමක්ද?

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: C

Insert anomaly – Cannot add data without unrelated other data.ඇතුළත් කිරීමේ විෂමතාව – වෙනත් දත්ත නැතිව දත්ත එක් කළ නොහැකි වීම.

11Which term means: “Changing repeated data in some rows only leaves inconsistency”?“සමහර පේළිවල පමණක් වෙනස් කිරීමෙන් අසංගතතාව” යන්නෙන් අදහස් වන පදය කුමක්ද?

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: D

Update anomaly – Changing repeated data in some rows only leaves inconsistency.යාවත්කාලීන විෂමතාව – සමහර පේළිවල පමණක් වෙනස් කිරීමෙන් අසංගතතාව.

12Which term means: “Deleting a row also loses other needed facts”?“පේළියක් මැකීමෙන් අවශ්‍ය වෙනත් කරුණු නැති වීම” යන්නෙන් අදහස් වන පදය කුමක්ද?

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: E

Delete anomaly – Deleting a row also loses other needed facts.මකා දැමීමේ විෂමතාව – පේළියක් මැකීමෙන් අවශ්‍ය වෙනත් කරුණු නැති වීම.

13Which term means: “A value of one attribute set determines another attribute”?“එක් උපලක්ෂණ කට්ටලයක අගය තවත් උපලක්ෂණයක් තීරණය කිරීම” යන්නෙන් අදහස් වන පදය කුමක්ද?

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: B

Functional dependency – A value of one attribute set determines another attribute.ක්‍රියාකාරී පරායත්තතාව – එක් උපලක්ෂණ කට්ටලයක අගය තවත් උපලක්ෂණයක් තීරණය කිරීම.

14Which term means: “Attribute depends on the whole composite key”?“උපලක්ෂණය සම්පූර්ණ සංයුක්ත යතුර මත රඳා පැවතීම” යන්නෙන් අදහස් වන පදය කුමක්ද?

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: E

Full dependency – Attribute depends on the whole composite key.පූර්ණ පරායත්තතාව – උපලක්ෂණය සම්පූර්ණ සංයුක්ත යතුර මත රඳා පැවතීම.

15Which term means: “Attribute depends on only part of a composite key”?“උපලක්ෂණය සංයුක්ත යතුරේ කොටසක් මත පමණක් රඳා පැවතීම” යන්නෙන් අදහස් වන පදය කුමක්ද?

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: B

Partial dependency – Attribute depends on only part of a composite key.අර්ධ පරායත්තතාව – උපලක්ෂණය සංයුක්ත යතුරේ කොටසක් මත පමණක් රඳා පැවතීම.

16Which term means: “Non-key attribute depends on another non-key attribute”?“යතුරු නොවන උපලක්ෂණයක් තවත් එකක් මත රඳා පැවතීම” යන්නෙන් අදහස් වන පදය කුමක්ද?

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: A

Transitive dependency – Non-key attribute depends on another non-key attribute.සංක්‍රාන්ති පරායත්තතාව – යතුරු නොවන උපලක්ෂණයක් තවත් එකක් මත රඳා පැවතීම.

17Which term means: “Unnormalised data with repeating groups”?“පුනරාවර්තන කාණ්ඩ ඇති සාමාන්‍යකරණය නොකළ දත්ත” යන්නෙන් අදහස් වන පදය කුමක්ද?

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: D

Zero normal form – Unnormalised data with repeating groups.ශුන්‍ය සාමාන්‍ය ආකෘතිය – පුනරාවර්තන කාණ්ඩ ඇති සාමාන්‍යකරණය නොකළ දත්ත.

18Which term means: “Atomic values and no repeating groups”?“පරමාණුක අගයන් සහ පුනරාවර්තන කාණ්ඩ නැත” යන්නෙන් අදහස් වන පදය කුමක්ද?

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: A

First normal form – Atomic values and no repeating groups.පළමු සාමාන්‍ය ආකෘතිය – පරමාණුක අගයන් සහ පුනරාවර්තන කාණ්ඩ නැත.

19Which term means: “1NF with no partial dependencies”?“අර්ධ පරායත්තතා නැති 1NF” යන්නෙන් අදහස් වන පදය කුමක්ද?

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: C

Second normal form – 1NF with no partial dependencies.දෙවන සාමාන්‍ය ආකෘතිය – අර්ධ පරායත්තතා නැති 1NF.

20Which term means: “2NF with no transitive dependencies”?“සංක්‍රාන්ති පරායත්තතා නැති 2NF” යන්නෙන් අදහස් වන පදය කුමක්ද?

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: E

Third normal form – 2NF with no transitive dependencies.තෙවන සාමාන්‍ය ආකෘතිය – සංක්‍රාන්ති පරායත්තතා නැති 2NF.

MCQ answer keyMCQ පිළිතුරු

  1. D – Unnormalised.සාමාන්‍යකරණය නොකළ.
  2. A – 1NF.1NF.
  3. B – Part of key.යතුරේ කොටස.
  4. C – Via non-key.යතුරු නොවන හරහා.
  5. A – Whole key.සම්පූර්ණ යතුර.
  6. D – Each item line.සෑම භාණ්ඩ පේළියක්ම.
  7. E – Delete.මකා දැමීම.
  8. C – Customer, Order, Item, OrderLine.වගු 4.
  9. B – Normalisation – Process of organising tables to reduce redundancy and anomalies.සාමාන්‍යකරණය – අතිරික්තතාව සහ විෂමතා අඩු කිරීමට වගු සංවිධානය කිරීම.
  10. C – Insert anomaly – Cannot add data without unrelated other data.ඇතුළත් කිරීමේ විෂමතාව – වෙනත් දත්ත නැතිව දත්ත එක් කළ නොහැකි වීම.
  11. D – Update anomaly – Changing repeated data in some rows only leaves inconsistency.යාවත්කාලීන විෂමතාව – සමහර පේළිවල පමණක් වෙනස් කිරීමෙන් අසංගතතාව.
  12. E – Delete anomaly – Deleting a row also loses other needed facts.මකා දැමීමේ විෂමතාව – පේළියක් මැකීමෙන් අවශ්‍ය වෙනත් කරුණු නැති වීම.
  13. B – Functional dependency – A value of one attribute set determines another attribute.ක්‍රියාකාරී පරායත්තතාව – එක් උපලක්ෂණ කට්ටලයක අගය තවත් උපලක්ෂණයක් තීරණය කිරීම.
  14. E – Full dependency – Attribute depends on the whole composite key.පූර්ණ පරායත්තතාව – උපලක්ෂණය සම්පූර්ණ සංයුක්ත යතුර මත රඳා පැවතීම.
  15. B – Partial dependency – Attribute depends on only part of a composite key.අර්ධ පරායත්තතාව – උපලක්ෂණය සංයුක්ත යතුරේ කොටසක් මත පමණක් රඳා පැවතීම.
  16. A – Transitive dependency – Non-key attribute depends on another non-key attribute.සංක්‍රාන්ති පරායත්තතාව – යතුරු නොවන උපලක්ෂණයක් තවත් එකක් මත රඳා පැවතීම.
  17. D – Zero normal form – Unnormalised data with repeating groups.ශුන්‍ය සාමාන්‍ය ආකෘතිය – පුනරාවර්තන කාණ්ඩ ඇති සාමාන්‍යකරණය නොකළ දත්ත.
  18. A – First normal form – Atomic values and no repeating groups.පළමු සාමාන්‍ය ආකෘතිය – පරමාණුක අගයන් සහ පුනරාවර්තන කාණ්ඩ නැත.
  19. C – Second normal form – 1NF with no partial dependencies.දෙවන සාමාන්‍ය ආකෘතිය – අර්ධ පරායත්තතා නැති 1NF.
  20. E – Third normal form – 2NF with no transitive dependencies.තෙවන සාමාන්‍ය ආකෘතිය – සංක්‍රාන්ති පරායත්තතා නැති 2NF.

Structured Questionsව්‍යුහගත ප්‍රශ්න

1Explain insert, update and delete anomalies with the order table.විෂමතා තුන. (3 marksලකුණු 3)

Show model answerආදර්ශ පිළිතුර පෙන්වන්න
Insert new item; update Perera rows; delete order 1002 loses Silva.ඇතුළත්; යාවත්කාලීන; මකා දැමීම.

2Define full, partial and transitive dependency with examples.පරායත්තතා තුන. (3 marksලකුණු 3)

Show model answerආදර්ශ පිළිතුර පෙන්වන්න
Full (OrderNo, ItemCode) → Qty; partial ItemCode → Price; transitive CustID → CustName.පූර්ණ; අර්ධ; සංක්‍රාන්ති.

3Convert the 0NF order data to 1NF and state the key.0NF → 1NF. (3 marksලකුණු 3)

Show model answerආදර්ශ පිළිතුර පෙන්වන්න
Repeat order data per item; 5 rows; key (OrderNo, ItemCode).පේළි 5; යතුර.

4Normalise the 1NF table to 2NF.1NF → 2NF. (3 marksලකුණු 3)

Show model answerආදර්ශ පිළිතුර පෙන්වන්න
Order(OrderNo, Date, CustID, CustName); Item(ItemCode, ItemName, Price); OrderLine(OrderNo, ItemCode, Qty).Order; Item; OrderLine.

5Normalise to 3NF and explain which anomaly is removed.3NF. (3 marksලකුණු 3)

Show model answerආදර්ශ පිළිතුර පෙන්වන්න
Customer(CustID, CustName) split; Order keeps CustID FK; removes update anomaly on CustName.Customer වෙන් කිරීම; විෂමතාව ඉවත්.

🎮 Game🎮 ක්‍රීඩා

Pick a game. Each one uses words from this lesson.ක්‍රීඩාවක් තෝරන්න. හැම එකක්ම මේ පාඩමේ වචන පාවිච්චි කරනවා.

Summary & Downloadsසාරාංශය සහ බාගත කිරීම්

Key pointsප්‍රධාන කරුණු

  • Redundancy causes insert, update and delete anomalies.අතිරික්තතාව විෂමතා ඇති කරයි.
  • 1NF: atomic values, no repeating groups.1NF: පරමාණුක, පුනරාවර්තන නැත.
  • 2NF: remove partial dependencies.2NF: අර්ධ පරායත්තතා ඉවත් කරන්න.
  • 3NF: remove transitive dependencies.3NF: සංක්‍රාන්ති පරායත්තතා ඉවත් කරන්න.
  • A good decomposition is lossless – joins rebuild the data.හොඳ බෙදීමක් අහිමි නොවේ – join මගින් දත්ත නැවත ලැබේ.

Downloadsබාගත කිරීම්

Full Lesson 8 PDFසම්පූර්ණ පාඩම 8 PDF: English · සිංහල

Next: Lesson 8 A/L Exam Practiceඊළඟට: පාඩම 8 A/L විභාග පුහුණුව →

© 2026 schoolict.net (Ruwan Mangala Suraweera). All rights reserved.සියලු හිමිකම් ඇවිරිණි.