Changes between Version 75 and Version 76 of Version1


Ignore:
Timestamp:
08/11/24 21:44:24 (7 weeks ago)
Author:
184006
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Version1

    v75 v76  
    177177За кандидат клуч добивме:
    178178{jobs_id, pet_cares_id, blog_post_answers_id, cities_id, reports_id, therapy_id, medecines_id,
    179 pet_galery_id, orders_id, products_id, breeds_id}.
     179pet_galery_id, orders_id, products_id, breeds_id, vet_centers_id}.
    180180
    181181Ниту еден од атрибутите го нема од десна страна во ф.з па ова ни е единствен кандидат клуч,
     
    184184
    185185{jobs_id, pet_cares_id, blog_post_answers_id, cities_id, reports_id, therapy_id, medecines_id,
    186 pet_galery_id, orders_id, products_id, breeds_id} +=
     186pet_galery_id, orders_id, products_id, breeds_id, vet_centers_id} +=
    187187{jobs_id, jobs_description, predistedSalery, pet_cares_id, title, description, start_date,
    188188dateEnding,vet_centers_id, name, address, vet_centers_description, workingHours,
     
    289289available_quantity, quantity, breeds_id, breeds_name, kind_of_pet, type_of_pets_description
    290290)
    291 \\ **R22** = ( vet_centers_id-> name, address, vet_centers_description, workingHours, latitude, longitude
     291\\ **F22** = ( vet_centers_id-> name, address, vet_centers_description, workingHours, latitude, longitude
    292292\\ roles_id->type
    293293\\ users_id -> first_name, last_name, phoneNumber, email, password, roles_id
     
    312312\\ **R22 n R21** = pet_cares_id, клуч за R21 => нема губење на податоци.
    313313
     314\\ R22 не е во 2NF поради vet_centers_id-> name, address, vet_centers_description, workingHours, latitude, longitude
     315\\vet_centers_id +={ vet_centers_id, name, address, vet_centers_description, workingHours, latitude, longitude}
     316\\ **R221** (vet_centers_id, name, address, vet_centers_description, workingHours, latitude, longitude) клуч vet_centers_id, BCNF
     317\\ **F221** { vet_centers_id-> name, address, vet_centers_description, workingHours, latitude, longitude}
     318\\ **R222** (vet_centers_id,roles_id, type, users_id, first_name, last_name,
     319phoneNumber, email, password, blog_post_for_consultation_id, blog_post_title,
     320blog_post_description, dateAsked, blog_post_answers_id, parent_id, reply, date_answers,
     321cities_id, cities_name, reports_id, reports_description, pets_id, pet_status_id, node,
     322pet_status_type, therapy_id, appoitmentDate, therapy_description, diagnostics_id,
     323diagnostics_description, medecines_id, manufacturers_name, medecines_description,
     324manufacturers_id, city, state, manufacturers_name, manufacturers_description, pets_name,
     325color, dateOfBirthday, pets_description, type_of_pets_id, pet_galery_id, image, orders_id,
     326products_id, products_name, products_description, category, dateAdded,isActive, price,
     327available_quantity, quantity, breeds_id, breeds_name, kind_of_pet, type_of_pets_description
     328)
     329\\ **F222** = (roles_id->type
     330\\ users_id -> first_name, last_name, phoneNumber, email, password, roles_id
     331\\ blog_post_for_consultation_id -> blog_post_title, blog_post_description, dateAsked, users_id
     332\\ blog_post_answers_id ->parent_id, reply, date_answers, blog_post_for_consultation_id, users_id
     333\\ cities_id-> cities_name
     334\\ reports_id-> reports_description, pets_id
     335\\ reports_id , pets_id→ users_id
     336\\ pet_status_id->node, pet_status_type
     337\\ therapy_id->appoitmentDate, therapy_description
     338\\ diagnostics_id-> diagnostics_description
     339\\ medecines_id-> medecines_name, medecines_description
     340\\ pets_id-> pets_name, color, dateOfBirthday, pets_description, type_of_pets_id, users_id
     341\\ pet_galery_id->image, pets_id
     342\\ orders_id → userid
     343\\ products_id-> products_name, products_description, category, dateAdded, isActive, price, available_quantity
     344\\ products_id, orders_id → quantity
     345\\ breeds_id-> breeds_name, type_of_pets_id
     346\\ type_of_pets_id->kind_of_pet, type_of_pets_description
     347\\ medecines_id → manufacturers_id
     348\\ vet_centers_id, pets_id → pet_status_id)
     349\\ **R222 n R221** = vet_centers_id, клуч за R221 => нема губење на податоци.