Open navigation menu
Close suggestions
Search
Search
en
Change Language
Upload
Sign in
Sign in
Download free for days
0 ratings
0% found this document useful (0 votes)
108 views
5 pages
Unit 5
Uploaded by
local id
AI-enhanced title
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Download
Save
Save Unit-5 For Later
Share
0%
0% found this document useful, undefined
0%
, undefined
Print
Embed
Report
0 ratings
0% found this document useful (0 votes)
108 views
5 pages
Unit 5
Uploaded by
local id
AI-enhanced title
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Carousel Previous
Carousel Next
Download
Save
Save Unit-5 For Later
Share
0%
0% found this document useful, undefined
0%
, undefined
Print
Embed
Report
Download
Save Unit-5 For Later
You are on page 1
/ 5
Search
Fullscreen
aD Darshan Unit 4 - Normalization Free of gg eh Optom Sr Basics of Normalization © Table Hizll redundant data A remove S2dlell WAU 3 Bott lA storage efficiency, data integrity WL scalability Lulel e512 Ast data Normalization 88 8. © Relational model 4i method WA Alel B F quantify §% B 3 database 32Cil efficient & AA Normal Form 5 ® Wet Ai algorithm WAG B B wlVet database A normal form Hi convert $2 B. © caituell: Relational database design ofl MAAS BHI data A All La oNsacuni wa B el redundancy A minimize 5€l a5l2 AA Normalization 88 8. Normalization Hi data loss el A database A 2s Secll AUL® table Hi divide SEALUi WA B weal tables ofl 42a relation Ealaari WAG, © Normalization MAA Al Seq AMD yo B: 1) Data redundancy U2tsat 2) Update, insert UA delete Relucll A uetsal. 3) Data integrity, consistency MA scalability AULZall 4) Disk space Uelsal © Relation U2 24S condition apply SAl GLE of result 5 B relation oj state E2UA B Ae Normal Form $B 8. © YEL-YEl normal form B ol yo B: 1) First Normal Form (1NF) 2) Second Normal Form (2NF) 3) Third Normal Form (3NF) 4) Boyce-Codd Normal Form (BCNF) 5) Forth Normal Form (4NF) 6) Fifth Normal Form (SNF) Normal Forms First Normal Form (1NF) © Relation R, first normal form (INF) ® WH sl 21612 Vl relation oti OLklL domain Hi atomic value Alek. OR © Relation R, first normal form (INF) @ AA sl etsl2Zi Wl relation Hi composite AA multi-value attribute MLL Aej combination at Ala. 4 | Dept: CE DBMS (3340701) Prof. Vishal K. MakwanaaD Darshan Unit 4 - Normalization Free of gg eh Optom Sr Exampl Customer: Cid | Name | Address Contact_no Society | City Co1 | Emily | Nana Bazar, Anand 9879898798, 7877855416 02 | Jeniffer | C.G.Road, Ahmedabad | 9825098254 C03 | Peter | M.G.Road, Rajkot 9898787898 © Guest relation Hi 4 attribute Cid, Name, Address, Contact_no &, wélell, Address A composite attribute 8 @ society Wel city sub-attribute Hi divide elz ®. Contact_no ® multi-value attribute & Bui Ws S2cll Aul? value Mz sal atstal. dell, Guz of relation ine Hi otal, Problem: co UBai, WUA A city oti OLA customer A display Sell eset otal. St2EL 3, city af oil A society MD AsiAG B BA address AWS evlacuni wae v. Solution: © Composite attribute oti £25 sub-attribute A relation Hi GAL attribute Ads insert Sal. + First Approach: = Multi-value attribute Hi cLtulRai ctu Becll Acey Ala. a a otssl sa. = Multi-value attribute HL2 2Ct9l attribute relation Hi Insert S2l wat Ws attribute Hl Bs ACA insert $2l wer olleg Acy olen attribute Hi insert 52. = Aall, Gurett table a lA yoyo eattcll erste: Customer: Name | Society City Contact_no1 | Contact_no2 Emily [Nana Bazar | Anand 9879898798 | 7877855416 Jeniffer_| C.G.Road ‘Ahmedabad | 9825098254 co3__| Peter | M.G.Road__| Rajkot 9898787898 ‘Second Approach: = wet relation Hiell multi-value attribute Hel Actl primary key A remove Sél A AA Ds WAAL tall relation Hi 48 Wel multi-value attribute A etal relation ell primary key Het, = all, Guretl table A lA yor Eattell asta: 2 | Dept: CE ‘ADBMS (3340701) Prof. Vishal K. MakwanaaD Darshan Unit 4 - Normalization Free of gg eh Optom Sr Customer: Customer_Contact: Cid [Name | Society city Cid__| Contact_no col [Emily [NanaBazer | Anand co1__ | 9879898798 02 [Jenifer [C.G.Road Ahmedabad || CO1 _| 7877855416 cos__| Peter _| M.G.Road Rajkot coz | 9825098254 cos | 9898787898, Second Normal Form (2NF) © Relation R, second normal form (2NF) Hi B Wx sél esle WA ANF Hl Ale Bel ES non-prime attribute W relation afl primary key U2 fully dependent Ala. OR © Relation R, second normal form (2NF) Hi B WH sl ats A A ine Hi Az WA AE Uel non-prime attribute 2 relation ofl primary key U2 partially dependent ot @l&. Example: Depositor_Account: [eid [ano [acess_date [balance [ bname + FF o GU? ati relation Hi 5 attribute cid, ano, acess_date, balance, bname UA 2FD WUAB. FD1: {cid,ano)>{acess_date, balance, bname} and FD2: ano~>{balance, bname} © cid Mal ano W primary key B. FD2 WALA balance Ua bname W Set ano UE WEL WA Bid UE a, o GU? oti relation Hi balance *e bname A primary key UR fully dependent ot2l. Uzd, UL attribute primary key U2 partially dependent &. Aell, GUz¢j relation 2NF Hi otal. Problem: © Gelszet AG, joint account Hi As Szctl LEU? customer A As ¥ AlHet account AA B. Wl AS joint account ‘A02’ Hi @ customer ‘CO2’ Mei ‘co3’ lat cl customer ‘CO2" Ue ‘C03 tuple Hi balance wel bname attribute Hi duplicate Acy A, Solution: © Original relation A decompose Ad A seat WA 3 Bell etal relation Hi partial FD ot Az. 3 | Dept: CE ‘ADBMS (3340701) Prof. Vishal K. MakwanaaD Darshan Unit 4 - Normalization Free of gg eh Optom Sr © MLS ULB, Original relation Hiell partial dependent attribute $ B 2NF ofl condition A violet $2 B AS remove $2. Act steil relation HSL Wer Aefl AA B attribute U2 A fully dependent Aa ac ‘URL tell relation Hi Yl WA A Voll Uz fully dependent Az AA etait relation ofl primary key ott. © Original relation Hi Olle cits attribute AA % primary key WA WH w Vell al. o All, Guz oj table Depositor_Account @ Account *el Account_Holder table Hi decompose S2UlHi MLA BF oflA yoyo B: Account: Account_Holder: [Ano [balance | bname [sid Jano | acess_date | ft t | f © Al, Gia relation Account MA Account_Holder @ second normal form Hi &. Third Normal Form (3NF) * Relation R, third normal form (3NF) Hi & Ax sal esi el A 2NF Ala Wer AS Ue non-prime attribute ¥ transitively primary key U2 dependent ot €lz. © Attribute CQ attribute A U2 transitively dependent Aa WM Ai attribute BA Aa 3 ell: ADBandB>C. Exampl Account_Branch: ‘ano [balance | bname | baddress FDL t t t ror L___t © GU? ati relation Hi 4 attribute ano, balance, bname, baddress Mal Q FDS lA yo B: FD1: ano > {balance, bname, baddress} and FD2 : bname-> baddress co Adal, FD1 Wal FD2 Uzell transitivity a WEL BWLUA ano>baddress Ancll asta. © Aall, AH ano ell baddress transitively bname La HOB, PHI baddress A non-prime attribute 8. © ANI baddress & non-prime attribute 8 & primary key ano U2 transitively dependent &. o Aafl, Guz 4 relation 3NF Hi etell. Problem: ©. Transitively dependency & C(O data redundancy ele B, 4,| Dept: CE DBMS (3340701) Prof. Vishal K. MakwanaaD Darshan Unit 4 - Normalization Free of gg eh Optom Sr © Wlrrelation Hi Ws % branch et E25 account Hi AULz branch address a Wz SAALHL WA BB ule woe ASB. Solution: © Original relation A Acl AA decompose 2 ¥ Pell cic relation Hi non-prime attribute A transitively primary key U2 dependent at Ala. © Wl Sdf HB transitively dependent attribute 3 B 3NF ofl condition A violet 8% B AA remove sal. AA otal relation Hi 48 AA non-prime attribute 3 ® attribute A CLA transitivity AS Aa AA uRL otcl relation Hi Yl Wal AA otcll relation afl primary key etl. © Original relation Hi {let tut attribute AA Y primary key WA DH ¥ Wal a. o Adel, Gureil table Account_Branch & Account WA Branch table Hi decompose S2AlLHi WA BF AD Yo B: Account: Branch: [ano balance bname | [bname baddress | | ___f © &4, Account Mat Branch relation Hi 58 transitive dependency tell. © Aall, 2 cial relation third normal form Hi B. 5 | Dept: CE ‘ADBMS (3340701) Prof. Vishal K. Makwana
You might also like
DBMS Unit 4 Notes
PDF
No ratings yet
DBMS Unit 4 Notes
29 pages
DBMS Ninja Notes
PDF
No ratings yet
DBMS Ninja Notes
134 pages
I ST Pharm.D Remedial Maths
PDF
No ratings yet
I ST Pharm.D Remedial Maths
1 page
Adina Institute of Science & Technology: Department of Computer Science & Engg. M.Tech CSE-II Sem Lab Manuals MCSE - 203
PDF
100% (1)
Adina Institute of Science & Technology: Department of Computer Science & Engg. M.Tech CSE-II Sem Lab Manuals MCSE - 203
22 pages
Dbms III Unit
PDF
No ratings yet
Dbms III Unit
28 pages
DS GTU Study Material E-Notes Unit-3 06072020090640AM
PDF
No ratings yet
DS GTU Study Material E-Notes Unit-3 06072020090640AM
28 pages
SQL Notes by Apna College
PDF
No ratings yet
SQL Notes by Apna College
29 pages
Normalization in DBMS
PDF
No ratings yet
Normalization in DBMS
6 pages
Unit 3 DBMS R23
PDF
No ratings yet
Unit 3 DBMS R23
24 pages
Exam I Sample Questions
PDF
No ratings yet
Exam I Sample Questions
6 pages
SQL Practice EMPLOYEE Table Created
PDF
No ratings yet
SQL Practice EMPLOYEE Table Created
20 pages
Integrity Constraints
PDF
No ratings yet
Integrity Constraints
2 pages
DDL, DML, DCL, DQL, TCL 1
PDF
No ratings yet
DDL, DML, DCL, DQL, TCL 1
13 pages
CS09 607 (P) - DBMS Lab Manual PDF
PDF
100% (1)
CS09 607 (P) - DBMS Lab Manual PDF
94 pages
Normalization
PDF
No ratings yet
Normalization
18 pages
Dbms Gtu File Prcs
PDF
No ratings yet
Dbms Gtu File Prcs
8 pages
Unit 1
PDF
No ratings yet
Unit 1
9 pages
DBMS Unit 2 Notes
PDF
No ratings yet
DBMS Unit 2 Notes
17 pages
Unit IV
PDF
No ratings yet
Unit IV
65 pages
Lecture 11fjylkgey
PDF
No ratings yet
Lecture 11fjylkgey
107 pages
DBMS Unit 3
PDF
No ratings yet
DBMS Unit 3
85 pages
7 Query Localization
PDF
No ratings yet
7 Query Localization
27 pages
Normalization in DBMS - 1NF, 2NF, 3NF and BCNF in Database
PDF
50% (2)
Normalization in DBMS - 1NF, 2NF, 3NF and BCNF in Database
6 pages
Tcs Theory Notes by Kamal Sir
PDF
No ratings yet
Tcs Theory Notes by Kamal Sir
24 pages
LABS 1-12 & Bonus Task
PDF
No ratings yet
LABS 1-12 & Bonus Task
75 pages
PL SQL Assignments
PDF
No ratings yet
PL SQL Assignments
64 pages
Lab Course File: Galgotias University
PDF
No ratings yet
Lab Course File: Galgotias University
42 pages
Saurabh Tariyal Sec:J 1918677
PDF
No ratings yet
Saurabh Tariyal Sec:J 1918677
66 pages
Original Dbms Lab Manual
PDF
No ratings yet
Original Dbms Lab Manual
85 pages
Manual For DBMS LAB
PDF
No ratings yet
Manual For DBMS LAB
82 pages
Cb3401 Unit 2
PDF
No ratings yet
Cb3401 Unit 2
30 pages
Paper 1
PDF
No ratings yet
Paper 1
3 pages
Ex No: 1. Data Definition of Base Tables. Date: Aim
PDF
No ratings yet
Ex No: 1. Data Definition of Base Tables. Date: Aim
30 pages
SQL (Part 2)
PDF
No ratings yet
SQL (Part 2)
44 pages
ADBMS - Unit 1 - 21042018 - 032136AM
PDF
No ratings yet
ADBMS - Unit 1 - 21042018 - 032136AM
21 pages
DS GTU Study Material E-Notes Unit-4 06092019073913AM
PDF
No ratings yet
DS GTU Study Material E-Notes Unit-4 06092019073913AM
32 pages
bcsl-034 Lab PDF
PDF
No ratings yet
bcsl-034 Lab PDF
7 pages
Cursor-Based Linked Lists
PDF
No ratings yet
Cursor-Based Linked Lists
4 pages
Operating Systems Unit - 5: I/O and File Management
PDF
No ratings yet
Operating Systems Unit - 5: I/O and File Management
48 pages
Gujarati DS Unit-2 - 06092019073642AM
PDF
No ratings yet
Gujarati DS Unit-2 - 06092019073642AM
18 pages
Dynamic Hashing
PDF
No ratings yet
Dynamic Hashing
35 pages
Normalization of Database Tables
PDF
No ratings yet
Normalization of Database Tables
21 pages
Normalization in DBMS
PDF
No ratings yet
Normalization in DBMS
17 pages
DBMS Cheatsheet
PDF
No ratings yet
DBMS Cheatsheet
1 page
Database Lab 5
PDF
No ratings yet
Database Lab 5
14 pages
Unit 3
PDF
No ratings yet
Unit 3
4 pages
03-Oracle Made Easy-Version-1.5 - SQL
PDF
No ratings yet
03-Oracle Made Easy-Version-1.5 - SQL
18 pages
Stored Procedures and Functions: When You Finish Writing The Procedure Type (/) As The Only Character On The Last Line
PDF
No ratings yet
Stored Procedures and Functions: When You Finish Writing The Procedure Type (/) As The Only Character On The Last Line
22 pages
LAB Manual - PART A - PLSQL
PDF
No ratings yet
LAB Manual - PART A - PLSQL
8 pages
Module 5 Ellis
PDF
No ratings yet
Module 5 Ellis
2 pages
PRACTICAL - 1 (Part-I) : Aim: - Create The Following Tables As Per The Given Description
PDF
No ratings yet
PRACTICAL - 1 (Part-I) : Aim: - Create The Following Tables As Per The Given Description
5 pages
18bit0166 Ayush Kanaujia
PDF
No ratings yet
18bit0166 Ayush Kanaujia
12 pages
PLSQL
PDF
100% (1)
PLSQL
4 pages
Advanced DBMS Concepts Practical 1
PDF
No ratings yet
Advanced DBMS Concepts Practical 1
1 page
Instead of Triggers
PDF
No ratings yet
Instead of Triggers
14 pages
Lab Assignment SQL Queries
PDF
No ratings yet
Lab Assignment SQL Queries
4 pages
Types of Triggers: Create INT Identity Varchar Decimal
PDF
No ratings yet
Types of Triggers: Create INT Identity Varchar Decimal
6 pages
Lab Plsql3
PDF
No ratings yet
Lab Plsql3
7 pages
Normalization in DBMS
PDF
No ratings yet
Normalization in DBMS
9 pages
PL/SQL Code To Consider Tuning: Insert Update Delete
PDF
No ratings yet
PL/SQL Code To Consider Tuning: Insert Update Delete
3 pages