Changes between Version 3 and Version 4 of Normalization


Ignore:
Timestamp:
07/21/25 23:53:57 (8 days ago)
Author:
221514
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Normalization

    v3 v4  
    33= 1. Functional Dependencies =
    44
    5 Given the ER Diagram:
    6 
    7 {{{
    8 ![[Pasted image 20250705104406.png]]
    9 }}}
    10 
    11 And the relational database schema:
    12 
    13 {{{
    14 ![[Pasted image 20250705104424.png]]
    15 }}}
    16 
    17 The database can be made so it is represented in exactly 1 relation with all the attributes in it.
     5Given the relational schema we already created in earlier sections of this project, the database can be made so it is represented in exactly 1 relation with all the attributes from every relation concatenated together. Of course, duplicates would be removed by doing this which is not a problem.
     6
    187Let R be the relation just described:
    198{{{R(`account_id`, accout_email, person_name, person_surname, password, years_experience, - company_name, company_embg -, - years_experience -, - `vehiche_id`, plate_num, model, brand, capacity, year_manuf -, - `route_id`, days_active -, - `trip_id`, date, status, free_seats -, - time_stop -, - `location_id` , loc_name, latitude, longitude - , - `ticket_id`, time_purchased, date_purchased, two_way, student_disc, child_disc, child_embg, parent_embg -, -`payment_id`, total_price, n_tickets -, - `review_id`,  review_description, rating - `)}}}