The query which I have written for fetching data from 3 tables is working fine in SQL server management studio and MS Access but in Jaspersoft studio it is giving unexpected output with many duplicate records. My query looks something like this Employee table: emp_Id, emp_name, salary, Dep_num, project_id --->Primary key=emp_Id Department table: Dep_num, Dep_name, Manager ----->Primary key= Dep_num Project table: project_id, project_name, project_loc ------->Primary key=project_id I want to have a resul table like emp_name, Dep_name,project_name I have written query like this select emp_name, Dep_name, project_name from Employee as E inner join Department as D on E.Dep_num = D.Dep_num inner join Project as P on E.project_id = P.project.id; so I am awaiting any response from jasper team, query is fine but jasper is not giving correct output, anyone help me out, how to deal with this issue