faiz khan

faiz khan

  • NA
  • 21
  • 3.8k

find the primary and foreign key existence

Jun 13 2017 2:59 AM
i have two table employee table and department table.
in employee table primary key table and foreign key in department table. 
i am inserting data using primary key and foreign key.once i inserting duplicate data in department table so i am getting error.
 
i want to check if the value is already exsist in department table.please give me some links where i can check some examples 

Answers (2)