| 385 | | \\ **R2221 n R2222** = roles_id, клуч за R2221 => нема губење на податоци. |
| | 385 | \\ **R2222 n R2221** = roles_id, клуч за R2221 => нема губење на податоци. |
| | 386 | |
| | 387 | \\ **R2222** не е во 3NF поради users_id -> first_name, last_name, phoneNumber, email, password, roles_id |
| | 388 | \\ users_id +={users_id, first_name, last_name, phoneNumber, email, password, roles_id} |
| | 389 | \\ **R22221** (users_id, first_name, last_name, phoneNumber, email, password, roles_id) клуч users_id BCNF |
| | 390 | \\ **F22221** { users_id -> first_name, last_name, phoneNumber, email, password, roles_id } |
| | 391 | \\ **R22222** (users_id, blog_post_for_consultation_id, blog_post_title, |
| | 392 | blog_post_description, dateAsked, blog_post_answers_id, parent_id, reply, date_answers, |
| | 393 | cities_id, cities_name, reports_id, reports_description, pets_id, pet_status_id, node, |
| | 394 | pet_status_type, therapy_id, appoitmentDate, therapy_description, diagnostics_id, |
| | 395 | diagnostics_description, medecines_id, manufacturers_name, medecines_description, |
| | 396 | manufacturers_id, city, state, manufacturers_name, manufacturers_description, pets_name, |
| | 397 | color, dateOfBirthday, pets_description, type_of_pets_id, pet_galery_id, image, orders_id, |
| | 398 | products_id, products_name, products_description, category, dateAdded,isActive, price, |
| | 399 | available_quantity, quantity, breeds_id, breeds_name, kind_of_pet, type_of_pets_description |
| | 400 | ) |
| | 401 | \\ **F22222** = (blog_post_for_consultation_id -> blog_post_title, blog_post_description, dateAsked, users_id |
| | 402 | \\ blog_post_answers_id ->parent_id, reply, date_answers, blog_post_for_consultation_id, users_id |
| | 403 | \\ cities_id-> cities_name |
| | 404 | \\ reports_id-> reports_description, pets_id |
| | 405 | \\ reports_id , pets_id→ users_id |
| | 406 | \\ pet_status_id->node, pet_status_type |
| | 407 | \\ therapy_id->appoitmentDate, therapy_description |
| | 408 | \\ diagnostics_id-> diagnostics_description |
| | 409 | \\ medecines_id-> medecines_name, medecines_description |
| | 410 | \\ pets_id-> pets_name, color, dateOfBirthday, pets_description, type_of_pets_id, users_id |
| | 411 | \\ pet_galery_id->image, pets_id |
| | 412 | \\ orders_id → userid |
| | 413 | \\ products_id-> products_name, products_description, category, dateAdded, isActive, price, available_quantity |
| | 414 | \\ products_id, orders_id → quantity |
| | 415 | \\ breeds_id-> breeds_name, type_of_pets_id |
| | 416 | \\ type_of_pets_id->kind_of_pet, type_of_pets_description |
| | 417 | \\ medecines_id → manufacturers_id |
| | 418 | \\ vet_centers_id, pets_id → pet_status_id) |
| | 419 | \\ **R22222 n R22221** = users_id, клуч за R22221 => нема губење на податоци. |