Hi,
We have worked for complex databases for the government of brazil in a project name - e-cidade.
I have understood your project as it involves the dynamic query execution over the database by your staff.
I can certainly realize this requirements with a descent UI that enables every user to retrieve the data.
Look forward to discuss,
regards,
Nittile