how to add foreign key constraint for exiting tables code example Example: drop foreign key ALTER TABLE table_name DROP CONSTRAINT fk_name;