SQL Query : Insert into EmpDetailsTable (empId, empName, empDob) select distinct empId, empName, empDob from planMemberTable MBR inner join characteristicTable PMC on MBR.I