hi
anyone please help me
how to create a reference column for a table
i will send table structure please send me
physician:
employeeid – this is a unique ID of a physician(primary key it should be auto increment)
name – this is the name of a physician
position – this is the designation of a physician
ssn – this is a security number of a physician
department:
departmentid – this is a unique ID for a department(primary key it should be auto increment)
name – this is the name of a department
head – this is the ID of the physician who is the head of a department, referencing to the column employeeid of the table physician


Uttam ChaturvediRank #477 · 5.2K reputationPosted Apr 30, 2018, 3:43 AM EDT
Uttam ChaturvediRank #477 · 5.2K reputationPosted Apr 27, 2018, 2:01 AM EDT
Uttam ChaturvediRank #477 · 5.2K reputationPosted Apr 30, 2018, 12:30 AM EDT
Amudhan KuppanRank #3,375 · 426 reputationPosted Apr 27, 2018, 2:17 AM EDT
Amudhan KuppanRank #3,375 · 426 reputationPosted Apr 29, 2018, 7:44 PM EDT
Amudhan KuppanRank #3,375 · 426 reputationPosted Apr 30, 2018, 3:57 AM EDT
Uttam ChaturvediRank #477 · 5.2K reputationPosted Apr 30, 2018, 4:19 AM EDT
Amudhan KuppanRank #3,375 · 426 reputationPosted Apr 30, 2018, 12:55 AM EDT
Amudhan KuppanRank #3,375 · 426 reputationPosted Apr 30, 2018, 3:10 AM EDT