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


Rajkiran SwainRank #165 · 14.4K reputationPosted Jun 12, 2017, 11:11 PM EDT
Ramesh BarikRank #3,664 · 401 reputationPosted Jun 18, 2017, 9:31 PM EDT