Add Constraint Example

Description: Example of adding a constraint.

ALTER TABLE airplanes
ADD CONSTRAINT program_fk FOREIGN KEY ( program_id )
REFERENCES programs ( program_id );

Enjoyed this post? Share it!

 

Leave a comment

Your email address will not be published.