I have a table name product
that have column productCode (primary key), name address , ph , warehouse .
I want to create a new table with columns productcode and price.
with productcode as primary key and foreign key to productinfo table.
I am new to sql server can anyone let me know how to make it foreign key.
that have column productCode (primary key), name address , ph , warehouse .
I want to create a new table with columns productcode and price.
with productcode as primary key and foreign key to productinfo table.
I am new to sql server can anyone let me know how to make it foreign key.
Comment