jlwlynn Posted November 23, 2009 Share Posted November 23, 2009 I'm fairly new to JasperServer (version 3.5.1), so this may be an easy question, but I cannot find out how to do this with the Domain Designer. Let's say I have two tables, Employee and Job. Job has the fields 'previousEmployee' and 'currentEmployee' which are two separate Employees usually. So, I'd like to Join Employee twice, once as PreviousEmployee and once as CurrentEmployee. Normally, I would do this in SQL as ... FROM Job INNER JOIN Employee as PreviousEmployee ON Job.previousEmployee = Employee.id.... etc.Any ideas on how to accomplish this? Thanks in advance!!!jason Link to comment Share on other sites More sharing options...
Solution swood Posted November 25, 2009 Solution Share Posted November 25, 2009 You can do it two ways. In the Joins tab, "Copy Table". This gives a different alias from the original table, and you can have seperate joins with it. Create a Derived Table (custom SQL). ShermanJaspersoft Link to comment Share on other sites More sharing options...
jlwlynn Posted November 25, 2009 Author Share Posted November 25, 2009 Thank you, thank you, thank you, thank you! I never noticed those icons. Oh well! All is well now! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now