This Live Demo works in Offline mode using metadata loaded from this XML file, but you can easily connect it to your local or remote database by clicking the "Active Query Builder Properties..." button and specifying the required connection options.
Don't forget to set proper SQL dialect in order to build a correct SQL query for your database server.
Please note that Active Query Builder is a true two-way query builder, so you can combine visual query building with direct SQL query editing. Changes made to the SQL query text will be affected to the query builder immediately after leaving the text editing area.