Changes between Version 3 and Version 4 of Proof of 1N form


Ignore:
Timestamp:
01/27/26 23:44:58 (13 days ago)
Author:
213087
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Proof of 1N form

    v3 v4  
    77=== Example of UNF Data ===
    88
    9 || user_id || user_first_name || user_last_name || user_email || wedding_id || wedding_date || wedding_budget || venue_id || venue_name || venue_type || venue_capacity || booking_id || booking_date || start_time || end_time ||
    10 || U01 || Ana || Petrova || ana@mail.com
    11  || W01 || 2026-06-12 || 15000 || V01 || Grand Hall || Ballroom || 300 || B01 || 2026-06-12 || 18:00 || 23:00 |
    12 || U01 || Ana || Petrova || ana@mail.com
    13  || W01 || 2026-06-12 || 15000 || V02 || Garden Venue || Outdoor || 200 || B02 || 2026-06-12 || 12:00 || 16:00 |
    14 || U02 || Marko || Iliev || marko@mail.com
    15  || W02 || 2026-09-20 || 20000 || V01 || Grand Hall || Ballroom || 300 || B03 || 2026-09-20 || 19:00 || 01:00 |
     9|| user_id || user_first_name || user_last_name || user_email || wedding_id || wedding_date || wedding_budget || venue_id || venue_name || venue_type || venue_capacity || booking_id || booking_date || start_time || end_time
     10|| U01 || Ana || Petrova || ana@mail.com|| W01 || 2026-06-12 || 15000 || V01 || Grand Hall || Ballroom || 300 || B01 || 2026-06-12 || 18:00 || 23:00
     11|| U01 || Ana || Petrova || ana@mail.com|| W01 || 2026-06-12 || 15000 || V01 || Garden Venue || Outdoor || 200 || B02 || 2026-06-12 || 12:00 || 16:00
     12|| U02 || Marko || Iliev || marko@mail.com|| W01 || 2026-09-20 || 20000 || V01 || Grand Hall || Ballroom || 300 || B03 || 2026-09-20 || 19:00 || 01:00 ||
    1613
    1714=== Why This Relation Is UNF ===
    1815
    19 -Repeating groups exist:
     16**-Repeating groups exist:**
    2017
    2118
    2219--User and wedding data are repeated for each venue booking
    2320
    24 -Redundancy:
     21**-Redundancy:**
    2522
    2623
     
    2825--User information appears multiple times
    2926
    30 -Update anomalies:
    31 
     27**-Update anomalies:
     28**
    3229
    3330--Changing a venue name requires updating multiple rows
    3431--Changing a user email risks inconsistent data
    3532
    36 -Insertion anomalies:
     33**-Insertion anomalies:**
    3734
    3835
     
    4037--A user cannot exist without a wedding
    4138
    42 -Deletion anomalies:
     39**-Deletion anomalies:**
    4340
    4441
     
    4845Storing all data together leads to redundancy and update anomalies.
    4946
    50 Identified Functional Dependencies (FDs):
     47
     48
     49**Identified Functional Dependencies (FDs):**
    5150
    5251-user_id → user_first_name, user_last_name, user_email
     52
     53
    5354-wedding_id → wedding_date, wedding_budget, user_id
     55
     56
    5457-venue_id → venue_name, venue_type, venue_capacity
     58
     59
    5560-booking_id → venue_id, wedding_id, booking_date, start_time, end_time
    5661