Changes between Initial Version and Version 1 of normalization


Ignore:
Timestamp:
06/29/25 11:54:38 (3 days ago)
Author:
221046
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • normalization

    v1 v1  
     1= Нормализација
     2
     3Функциски зависности (FD)
     4FD = {
     5
     6# Track
     7track_id → name, album_id, media_type_id, genre_id, composer, milliseconds, bytes
     8
     9# Album
     10album_id → title, artist_id
     11
     12# Artist
     13artist_id → name
     14
     15# Genre
     16genre_id → name
     17
     18# Media Type
     19media_type_id → name
     20
     21# Customer (со враќање на personal info атрибути)
     22customer_id → first_name, last_name, company, support_rep_id,
     23               address, city, state, country, postal_code, phone, fax, email
     24
     25# Employee (со враќање на personal info атрибути)
     26employee_id → first_name, last_name, title, reports_to, birth_date, hire_date,
     27               address, city, state, country, postal_code, phone, fax, email
     28
     29# Invoice
     30invoice_id → customer_id, invoice_date, billing_address, billing_city, billing_state,
     31              billing_country, billing_postal_code, total
     32
     33# InvoiceLine
     34invoice_line_id → invoice_id, track_id, quantity
     35
     36# Playlist
     37playlist_id → name
     38
     39# PlaylistTrack
     40playlist_track_id → playlist_id, track_id
     41
     42# Price
     43price_id → value, date, track_id
     44
     45}
     46Канонска покривање (Fc)
     47Fc = {
     48
     49track_id → name,
     50track_id → album_id,
     51track_id → media_type_id,
     52track_id → genre_id,
     53track_id → composer,
     54track_id → milliseconds,
     55track_id → bytes,
     56
     57album_id → title,
     58album_id → artist_id,
     59
     60artist_id → name,
     61
     62genre_id → name,
     63
     64media_type_id → name,
     65
     66customer_id → first_name,
     67customer_id → last_name,
     68customer_id → company,
     69customer_id → support_rep_id,
     70customer_id → address,
     71customer_id → city,
     72customer_id → state,
     73customer_id → country,
     74customer_id → postal_code,
     75customer_id → phone,
     76customer_id → fax,
     77customer_id → email,
     78
     79employee_id → first_name,
     80employee_id → last_name,
     81employee_id → title,
     82employee_id → reports_to,
     83employee_id → birth_date,
     84employee_id → hire_date,
     85employee_id → address,
     86employee_id → city,
     87employee_id → state,
     88employee_id → country,
     89employee_id → postal_code,
     90employee_id → phone,
     91employee_id → fax,
     92employee_id → email,
     93
     94invoice_id → customer_id,
     95invoice_id → invoice_date,
     96invoice_id → billing_address,
     97invoice_id → billing_city,
     98invoice_id → billing_state,
     99invoice_id → billing_country,
     100invoice_id → billing_postal_code,
     101invoice_id → total,
     102
     103invoice_line_id → invoice_id,
     104invoice_line_id → track_id,
     105invoice_line_id → quantity,
     106
     107playlist_id → name,
     108
     109playlist_track_id → playlist_id,
     110playlist_track_id → track_id,
     111
     112price_id → value,
     113price_id → date,
     114price_id → track_id
     115}
     116