I have created at 2 tables. These tables are Department, employee.
Now i want to assign foreign key in department table and join with employee table.
have any idea??
SELECT id,department FROM department;
SELECT * FROM `employee'
I have created at 2 tables. These tables are Department, employee.
Now i want to assign foreign key in department table and join with employee table.
have any idea??
SELECT id,department FROM department;
SELECT * FROM `employee'
Are you looking for this:-
after select the dept_id.give index.
than select the department table and dept_id.than click save button.