Cust_id| Name |Ord_no|Ord_Date |PROD-ID|Descr |Qty_ord|
C001 | Pink | O81 | 15-Apr |P005 |Chisel|6 |
C001 | Pink | O81 | 15-Apr |P004 |Jane |14 |
C0075 | Red | O99 | 16-Apr |P015 |Saw |3 |
C009 | Black| O56 | 16-Apr |P033 |Punch |24 |
C009 | Black| O56 | 16-Apr |P004 |Jane |9 |
C001 | Pink | O88 | 17-Apr |P015 |Saw |10 |
From this table example I am trying to understand both this dependencies. According to me partial dependencies have a primary composite key and transitive don't have.
I think Primary key are Ord_no and Prod_id.Not sure about Cust_id
The only non key column which depends on the whole key is Quantity. All the rest are partial dependencies.Not sure about Transitive dependency exist or not in this table
Partial Dependency in the table are : • Cust_id and Name • Prod_id and Decr
Also the Transitive Dependency in the table are as follow : • Ord no_ and Ord_date can be ?
Update 1-I try to figure out but not sure about my answer. I just want clarification like order no is unique, and determines the customer so how can two different order_no 81 & 88 can have same customer id C001. Therefore I think no transitive dependency.