Split the table to ensure determinants are keys.
| ID Cliente | Teléfono | |------------|----------| | 1 | 123456 | | 1 | 987654 | | 2 | 789012 |
Para normalizar una base de datos, aplicamos de manera progresiva una serie de reglas conocidas como Formas Normales: Split the table to ensure determinants are keys
| Normal Form | Goal | Rule | | :--- | :--- | :--- | | | Atomicity | No repeating groups or arrays in cells. | | 2NF | No Partial Dependency | All non-key attributes must depend on the whole PK (relevant for composite keys). | | 3NF | No Transitive Dependency | Non-key attributes cannot determine other non-key attributes. | | BCNF | Strictness | Every determinant must be a candidate key. |
| id_orden | fecha | id_cliente | nom_cliente | estado | num_art | nom_art | cant | precio | | :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- | | 2301 | 23/02/11 | 101 | Martin | Caracas | 3786 | Red | 3 | 35,00 | | 2301 | 23/02/11 | 101 | Martin | Caracas | 4011 | Raqueta | 6 | 65,00 | | 2301 | 23/02/11 | 101 | Martin | Caracas | 9132 | Paq-3 | 8 | 4,75 | | 2302 | 25/02/11 | 107 | Herman | Coro | 5794 | Paq-6 | 4 | 5,00 | | 2303 | 27/02/11 | 110 | Pedro | Maracay | 4011 | Raqueta | 2 | 65,00 | | 2303 | 27/02/11 | 110 | Pedro | Maracay | 3141 | Funda | 2 | 10,00 | | | 3NF | No Transitive Dependency |
Employee Management Relation: EMP_DEPT(Emp_ID, Emp_Name, Dept_ID, Dept_Name, Dept_Location)
La columna Curso contiene múltiples valores en una sola fila para el estudiante Como Nombre_Vendedor depende de la clave primaria a
: (Id_orden, Num_art, Nom_art, Cant, Precio)
Todos los atributos (columnas) contienen solo valores (indivisibles).
Como Nombre_Vendedor depende de la clave primaria a través de otro atributo no clave ( Cod_Vendedor ), existe una .