Documentos de Académico
Documentos de Profesional
Documentos de Cultura
GUANAJUATO
NOMBRE:
MATRICULA:
MÓDULO: FUNDAMENTOS DE BASE DE DATOS
RETO 4: TRANSFORMACIÓN DE MI BASE DE
DATOS
ELABORACIÓN: 07/11/2023
ASESOR:
PASO 1: MODELO ENTIDAD-RELACIÓN
Tienen Pertenecen
1:M
Cantidad
de Hacen
existencia
Nombre
Nombre Código
de de
producto producto
Direcció
Fecha de
RFC Clientes E-mail
n
CURP
Tipo
compra
Direcció
Nombre
n
PASO 2: MODELO RELACIONAL.
Venta
Cod_Venta Int PK Not Null
Fecha_Venta Date Not Null
M:
1:M 1:M M 1:M
Forma_Pago Date Not Null
Total Decimal (6,2) Not Null
Cod_empleado Int FK
Productos
Cod_cliente Int FK
Cod_Producto Int PK Not Null
Nomb_Producto Varchar(50) Not Null
Tipo Varchar(50) Not Null
1:M
Talla Decimal (2,2) Not Null
Fecha de venta Date Not Null