Hi guys i'm new to the database
my question is how to delete records in a table that has a foreign key relationship, suppose I have 2 table employees and a department that has deptID as a relation now I want to delete a specific row in the table, such as delete from the department where depID = 10 ", it’s okay if the department’s employees are removed, and I also want to maintain the foreign key relationship. can anyone plz provide me a request for this
thanks
Lakshman
source
share