when am trying to connect two different tables like "department" and "employee" am getting an error like query unknown when am trying to retrieve the employee details of a particular department using the foreign key relation between department and employee table as shown in the image .
please any one help me in solving the issue.
to be clear i want to have the flow to be in this manner start screen->department screen->department details screen->employee screen for the particular department->employee details screen.