Foreign key and data deletion from foreign key table code example Example: drop foreign key ALTER TABLE table_name DROP CONSTRAINT fk_name;