We have a simple page that builds a SQL from various rules using a jquery plugin: [url removed, login to view]
What we are looking for is a intuitive design that allows user to build SQL statement using GUI interface. If you look at the Querybuilder plugin, you will get an idea. We want the UI to expand horizontally not vertically.
Also, we are looking for long-term relationship with a winner.