Hi guys i am new to database
my question is how to delete a records in a table which has foreign key relation suppose i have a 2 tables employee & department which has deptID as relation now i want to delete a specific row in a table like "delete from department where depID=10" its ok if the employees in the department are deleted and i also want to maintain the foreign key relation. can someone plz provide me query for doing this
Thanks