Changes between Version 25 and Version 26 of Normalization


Ignore:
Timestamp:
02/24/25 11:09:38 (2 days ago)
Author:
175012
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Normalization

    v25 v26  
    1414Првична релација (не нормализирана):
    1515
    16 R = {d_embg,name,surname, birthdate,policy,kontakt,c_id,email,pass,type }
     16R = {**d_embg**,name,surname, birthdate,policy,kontakt,**c_id**,email,pass,type }
    1717
    1818||= d_embg  =||= name  =||= surname  =||=  birthdate  =||=  policy  =||= kontakt =||= c_id  =||=  email  =||=  password  =||=  type =||
     
    2222Функциски зависности:
    2323
    24 d_embg → name,surname, birthdate,policy,kontakt
     24**d_embg** → name,surname, birthdate,policy,kontakt
    2525
    26 c_id → email, pass, type
     26**c_id** → email, pass, type
    2727
    2828Декомпозиција во 3НФ:
    2929
    30 R1 = { d_embg,name,surname, birthdate,policy,kontakt }
     30R1 = { **d_embg**,name,surname, birthdate,policy,kontakt }
    3131
    32 R2 = { c_id,email,pass,type }
     32R2 = { **c_id**,email,pass,type }
    3333
    3434
    35 === 2. Менаџирање на осигурителни полиси (Package,Covers)
     35=== 2. Менаџирање на пакети и покривања (Package,Covers)
    3636Првична релација:
    3737
     
    5656R3 = { code,cov_id }
    5757
    58 === 3. Менаџирање на авто осигурување (Auto_pol, Vehicle)
     58=== 3. Менаџирање на осигурување (Policy,Auto_pol,Vehicle,Property_pol,Property,Travel_pol,Pol_osi)
    5959Првична релација:
    6060
    61 R = { a_id, pol_id, v_id, marka, model, license_plate, type}
     61R = { p_id, s_date, e_date, a_id, pol_id, v_id, marka, model, license_plate, type, pr_id, pol_id, prop_id, address, floor, year_build, security, tr_id, pol_id, o_embg, name, surname, birthdate, kontakt}
    6262
    63 ||= a_id   =||=  pol_id  =||=  v_id   =||=  marka   =||=  model =||= license_plate  =||=  type =||
    64 ||= 1  =||=  1  =||=  1  =||=  Audi  =||=  A6 =||= SK1234AB  =||=  car =||
    65 ||= 2  =||=  2  =||=  2  =||=  BMW  =||=  X5  =||= KU5689AD  =||=  SUV =||
     63||= p_id =||= s_date =||= e_date =||= a_id =||=  pol_id  =||=  v_id   =||=  marka   =||=  model =||= license_plate  =||= type =||= pr_id =||= pol_id =||= prop_id =||= address =||= floor =||= year_build =||= security =||= tr_id =||= pol_id =||= o_embg =||= name =||= surname =||= birthdate =||= kontakt =||
     64||= 1 =||= 2025-01-15 =||= 2025-01-25 =||= 1  =||=  1  =||=  1  =||=  Audi  =||=  A6 =||= SK1234AB  =||= car =||= 1 =||= 1 =||= 1 =||= Skopje, Center, Blvd =||= 3 =||= 2015-03-12 =||= 1 =||= 1 =||= 1 =||= 210699945 =||= Ardit =||= Ameti =||= 19990621 =||= 070112546 =||
     65||= 2 =||= 2025-02-04 =||= 2025-02-14 =||= 2  =||=  2  =||=  2  =||=  BMW  =||=  X5  =||= KU5689AD  =||= SUV =||= 2 =||= 2 =||= 2 =||= Kumanovo, Center, Blvd =||= 2 =||= 2001-02-05 =||= 0 =||= 2 =||= 2 =||= 290699842 =||= Armend =||= Selmani =||= 19980629 =||= 071258963 =||
    6666
    6767Функциски зависности:
     68
     69p_id → s_date,e_date
    6870
    6971a_id → pol_id
     
    7173v_id → marka,model,license_plate,type
    7274
    73 Декомпозиција во 3НФ:
    74 
    75 R1 = { a_id,pol_id }
    76 
    77 R2 = { v_id,marka,model,license_plate,type }
    78 
    79 R3 = { a_id, v_id } (за поврзување на осигурувањето со возилата)
    80 
    81 
    82 === 4. Менаџирање на имотно осигурување (Property_pol,Property)
    83 Првична релација:
    84 
    85 R = { pr_id,pol_id,prop_id,address,floor,year_build,security}
    86 
    87 ||= pr_id  =||=  pol_id  =||=  prop_id   =||=  address   =||=  floor  =||= year-build  =||= security =||
    88 ||= 1  =||=  1  =||=  1  =||=  Skopje, Center, Blvd =||= 3 =||=  2015-03-12 =||= 1  =||
    89 ||= 2  =||=  2  =||=  2  =||=  Kumanovo,Center,Blvd  =||= 2 =||=  2001-02-05 =||= 1  =||
    90 
    91 Функциски зависности:
    92 
    9375pr_id → pol_id
    9476
    95 prop_id → address,floor,year_build,security
     77prop_id → address, floor,year_build,security
     78
     79tr_id → pol_id
     80
     81o_embg → name,surname,birthdate,kontakt
    9682
    9783Декомпозиција во 3НФ:
    9884
    99 R1 = { pr_id,pol_id }
     85R1 = { p_id,s_date,e_date }
    10086
    101 R2 = { prop_id,address,floor,year_build,security }
     87R2 = { a_id,pol_id }
    10288
    103 R3 = { pr_id,prop_id }
     89R3 = { v_id,marka,model,license_plate,type }
     90
     91R4 = { pr_id,pol_id }
     92
     93R5 = { prop_id,address,floor,year_build,security }
     94
     95R6 = { tr_id,pol_id}
     96
     97R7 = { o_embg,name,surname,birthdate,kontakt }
    10498
    10599
    106 === 5. Менаџирање на патничко осигурување (Travel_pol,Pol_osi)
    107 Првична релација:
    108100
    109 R = { tr_id, pol_id,o_embg,name,surname,birthdate,kontakt }
    110 
    111 ||= tr_id  =||=  pol_id  =||=  o_embg  =||=  name  =||=  surname =||= birthdate  =||=  kontakt  =||
    112 ||= 1  =||=  1  =||=  120399145  =||=  Martin  =||=  Velinov =||= 19910312  =||=  070111222  =||
    113 ||= 2  =||=  2  =||=  111097842  =||=  Smilka  =||=  Trajanov =||= 19781011  =||=  071555666  =||
    114 
    115 Функциски зависности:
    116 
    117 tr_id → pol_id
    118 
    119 o_embg  → name,surname,birthdate,kontakt
    120 
    121 Декомпозиција во 3НФ:
    122 
    123 R1 = { tr_id,pol_id }
    124 
    125 R2 = { o_embg,name,surname,birthdate,kontakt }
    126 
    127 R3 = { tr_id,o_embg }
    128101
    129102----