jQuery QueryBuilder is a UI component that easily creates SQL queries from input fields.
Will output a WHERE clause depending on user RULE selections that can be later supplied on a SELECT clause.
But what if the project involves complex and multiple Tables?
For that question I created this solution.