eid column is primary jey, you cannot insert duplicates. use a different logic
create table emp_targt
(
eid int ,
name varchar(10),
addr varchar(10))
drop table emp_targt
insert into emp_targt
values(1,'aaa','Mysore')
insert into emp_targt
values(2,'bbb','chennai')
create table emp_details
(
eid int ,
name...