Changes between Version 11 and Version 12 of Normalization


Ignore:
Timestamp:
03/09/22 00:28:13 (3 years ago)
Author:
193113
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Normalization

    v11 v12  
    9999R,,17,,(movie_id, person_id) \\
    100100
     101Во приказ е дадено преименување на R во соодветни табели: \\
    101102
     103R,,1,,(genre_id, genre_type) - Genres(genre_id, genre_type) \\
     104R,,2,,(person_id, person_fullname, person_type, date_of_birth, person_image_url, person_description) - Persons(person_id, person_fullname, person_type, date_of_birth, person_image_url, person_description) \\
     105R,,3,,(movie_id, movie_title, movie_description, movie_image_url, imdb_rating, airing_date) - Movies(movie_id, movie_title, movie_description, movie_image_url, imdb_rating, airing_date) \\
     106R,,4,,(username, user_id, user_fullname, password, email) - Users(username, user_id, user_fullname, password, email) \\
     107R,,5,,(user_id, person_id, person_stars_rated, person_reason) - Users_rate_persons(user_id, person_id, person_stars_rated, person_reason) \\
     108R,,6,,(user_id, movie_id, movie_stars_rated, movie_reason) - Users_rate_movies(user_id, movie_id, movie_stars_rated, movie_reason) \\
     109R,,71,,(discussion_id, discussion_text, discussion_title, discussion_date, movie_id, person_id) - Discussions(discussion_id, discussion_type, discussion_text, discussion_title, discussion_date, movie_id, person_id) \\
     110R,,72,,(movie_id, discussion_type) - Movies_discussion_type(movie_id, discussion_type) \\
     111R,,73,,(person_id, discussion_type) - Persons_discussion_type(person_id, discussion_type) \\
     112
     113R,,8,,(discussion_id, reply_id, reply_text, reply_date) - Replies(discussion_id, reply_id, reply_text, reply_date) \\
     114R,,9,,(genre_id, movie_id) - Movies_from_genres(genre_id, movie_id) \\
     115R,,10,,(genre_id, user_id) - Users_like_genres(genre_id, user_id) \\
     116
     117R,,11,,(user_id, movie_id) - Users_like_movies(user_id, movie_id) \\
     118R,,12,,(user_id, discussion_id) - Users_like_discussions(user_id, discussion_id) \\
     119R,,13,,(user_id, discussion_id, reply_id) - Users_like_replies(user_id, discussion_id, reply_id) \\
     120R,,14,,(movie_id, person_id) - Person_is_director_in_movies(movie_id, person_id) \\
     121R,,15,,(user_id, discussion_id) - Users_created_discussions(user_id, discussion_id) \\
     122R,,16,,(user_id, discussion_id, reply_id) - Users_created_replies(user_id, discussion_id, reply_id)  \\
     123R,,17,,(movie_id, person_id) - Persons_are_actors_in_movies(movie_id, person_id) \\