KW Online Tools Zone
Online SQL/MS SQL alter table add foreign key query generator
No need to remember syntax and type required data and generate sql query online easy!
Enter required infomation below!
ALTER TABLE ^table_name$ 
ADD CONSTRAINT ^constraint_variable$ 
FOREIGN KEY(^column_name_for_foeign_key$)
REFERENCES ^primary_table_name$(^column_name_primary_key$);
MYSQL Query Output
Copyright © 2014 Knowledge walls, All rights reserved