• Nice Video and a good intro to foreign keys.

    My interest in FK's are more specifically related to the deletion of data between joined tables.

    Eg.

    Table 1 - Orders

    Table 2 - OrdersDetails

    (FK most likely would be the OrderID i assume?)

    A new follow up video would be very helpful to show how the deletion of status changes of this type of data would work?

    If you deleted an Order from the Orders primary table, do FK's automatically delete the corresponding rows of data? Or does an error occur and stop the deletion of the primary record from the Orders table?

    I guess i am looking for the best method to adopt when updating data between multiples tables.