Download - CUESTIONES DE REPASO CAPITULO 16
![Page 1: CUESTIONES DE REPASO CAPITULO 16](https://reader036.vdocuments.co/reader036/viewer/2022082704/5589055fd8b42adb4c8b45e9/html5/thumbnails/1.jpg)
Universidad Técnica Particular de LojaLa Universidad Católica de LojaLa Universidad Católica de Loja
Sistemas Informáticos y Computación
• Víctor M. Víctor M. SamaniegoSamaniego•Raquel P. Raquel P. LuzuriagaLuzuriaga
Ing. Nelsón Ing. Nelsón PiedraPiedra
![Page 2: CUESTIONES DE REPASO CAPITULO 16](https://reader036.vdocuments.co/reader036/viewer/2022082704/5589055fd8b42adb4c8b45e9/html5/thumbnails/2.jpg)
DISEÑO LÓGICO DE BASE DE DATOS
CASO DE ESTUDIO:HOTEL “HOTEL “LOJALOJA””
![Page 3: CUESTIONES DE REPASO CAPITULO 16](https://reader036.vdocuments.co/reader036/viewer/2022082704/5589055fd8b42adb4c8b45e9/html5/thumbnails/3.jpg)
PROPÓSITO DEL DISEÑO LÓGICOPROPÓSITO DEL DISEÑO LÓGICO
• El propósito del diseño lógico de base de datos es el de construir un modelo de datos a partir del modelo conceptual, sin tomar en cuenta el modelo físico.
![Page 4: CUESTIONES DE REPASO CAPITULO 16](https://reader036.vdocuments.co/reader036/viewer/2022082704/5589055fd8b42adb4c8b45e9/html5/thumbnails/4.jpg)
REGLAS PARA DERIVAR TABLAS
![Page 5: CUESTIONES DE REPASO CAPITULO 16](https://reader036.vdocuments.co/reader036/viewer/2022082704/5589055fd8b42adb4c8b45e9/html5/thumbnails/5.jpg)
ENTIDADES FUERTESENTIDADES FUERTES
• Huésped (CI_huesped, Nombre, Apellido, edad, telefono )
Clave principal CI_huesped
![Page 6: CUESTIONES DE REPASO CAPITULO 16](https://reader036.vdocuments.co/reader036/viewer/2022082704/5589055fd8b42adb4c8b45e9/html5/thumbnails/6.jpg)
ENTIDADES DÉBILESENTIDADES DÉBILES
• Reservaciones(Nro_reservacion, Fecha, Nro_habitacion, Tipo_habitacion, CI_huesped)
Clave Principal Nro_reservacion
![Page 7: CUESTIONES DE REPASO CAPITULO 16](https://reader036.vdocuments.co/reader036/viewer/2022082704/5589055fd8b42adb4c8b45e9/html5/thumbnails/7.jpg)
RELACIONES BINARIAS UNO A RELACIONES BINARIAS UNO A MUCHOS (1:*)MUCHOS (1:*)
• Empleados(CI_empleado, nombre, apellido, tipo_empleado)
• Clave Principal CI_empleado
• Huésped (CI_huesped, Nombre, Apellido, edad, telefono, CI_empleado )
Clave Principal CI_huesped
Clave Alternativa telefono
Clave externa CI_empleado
![Page 8: CUESTIONES DE REPASO CAPITULO 16](https://reader036.vdocuments.co/reader036/viewer/2022082704/5589055fd8b42adb4c8b45e9/html5/thumbnails/8.jpg)
RELACIONES BINARIAS UNO A UNO
Habitaciones
(Nro_Habitacion, Tipo_habitacion, estado)
Clave Principal Nro_habitacion
Reservaciones
(Nro_reservacion, Fecha, Nro_habitacion, Tipo_habitacion, CI_huesped)
Clave Principal Nro_reservacion
![Page 9: CUESTIONES DE REPASO CAPITULO 16](https://reader036.vdocuments.co/reader036/viewer/2022082704/5589055fd8b42adb4c8b45e9/html5/thumbnails/9.jpg)
RELACIONES RECURSIVAS UNO A UNO
Empleados
(CI_empleado, nombre, apellido, tipo_empleado)
Clave Principal CI_empleado
Tipo_empleado
(Id_empleado, descripcion)
Clave Principal Id_empleado
![Page 10: CUESTIONES DE REPASO CAPITULO 16](https://reader036.vdocuments.co/reader036/viewer/2022082704/5589055fd8b42adb4c8b45e9/html5/thumbnails/10.jpg)
RELACIONES SUPERCLASE/SUBCLASE
Habitaciones
(Nro_Habitacion, Tipo_habitacion, estado)
Clave Principal Nro_habitacion
Tipo_habitacion
(Nro_Habitacion, descripcion)
Clave Principal Ninguna(Por el momento)
![Page 11: CUESTIONES DE REPASO CAPITULO 16](https://reader036.vdocuments.co/reader036/viewer/2022082704/5589055fd8b42adb4c8b45e9/html5/thumbnails/11.jpg)
UTILIZACIÓN LA TÉCNICA DE NORMALIZACIÓN PARA
DERIVAR LAS TABLAS A PARTIR DEL MODELO
CONCEPTUAL DE DATOS
![Page 12: CUESTIONES DE REPASO CAPITULO 16](https://reader036.vdocuments.co/reader036/viewer/2022082704/5589055fd8b42adb4c8b45e9/html5/thumbnails/12.jpg)
• La técnica de normalización debe ser aplicada en el modelo conceptual
• El proceso de derivar las relaciones a partir de un modelo de datos conceptual produce relaciones en Tercera Forma Normal.
• Si alguna relación que no esta en 3FN entonces el modelo conceptual puede ser incorrecto.