Allow User to Create Custom Database Queries from Library

Is it possible to set up a Spotfire library that is connected to a data source that allows users to create their own Spotfire queries?

For example, I want to create a library that is connected to a database with 20 tables.  I want to allow the user to select his/her own table and further allow selection of columns within that table.  The user would be able to add conditions to his/her query like where/and statements and joins.

Is this possible or far out of Spotfire's realm?

(2) Answers