I have two tables. One is EmployeeDatabase and other is EmployeeSalary.
Both has a column column employeeid...i want to fetch all the employeeid from EmployeeDatabase and fill it to the EmployeeSalary Table keeping in mind that no record get duplicated in salary table...i have made the employeeid column as unique in both table.
How to write query for this.