![mysql - adding foreign key to a composite primary key using alter command is showing error 1215 - Stack Overflow mysql - adding foreign key to a composite primary key using alter command is showing error 1215 - Stack Overflow](https://i.stack.imgur.com/hZF9d.jpg)
mysql - adding foreign key to a composite primary key using alter command is showing error 1215 - Stack Overflow
![SQL SERVER - 2008 - Creating Primary Key, Foreign Key and Default Constraint - SQL Authority with Pinal Dave SQL SERVER - 2008 - Creating Primary Key, Foreign Key and Default Constraint - SQL Authority with Pinal Dave](https://blog.sqlauthority.com/i/b/5_AllQuery.gif)
SQL SERVER - 2008 - Creating Primary Key, Foreign Key and Default Constraint - SQL Authority with Pinal Dave
![SQL SERVER - 2008 - Creating Primary Key, Foreign Key and Default Constraint - SQL Authority with Pinal Dave SQL SERVER - 2008 - Creating Primary Key, Foreign Key and Default Constraint - SQL Authority with Pinal Dave](https://blog.sqlauthority.com/i/b/14_DFAllQuery.gif)
SQL SERVER - 2008 - Creating Primary Key, Foreign Key and Default Constraint - SQL Authority with Pinal Dave
![database - Foreign key constraint unavailable in DDL Script generated by enterprise architect - Stack Overflow database - Foreign key constraint unavailable in DDL Script generated by enterprise architect - Stack Overflow](https://i.stack.imgur.com/2FMij.png)