GROUP BY
clause into the result SQL statement. To add an aggregate column - just add a column into QueryColumnsPanel
as usual, then click on the button near newly added column and select “Aggregate” in the menu that appear.HAVING
clause into the result query you can do the following:“Max(TableName.ExamDate)”
.
Now when user add some condition with this new attribute - the condition will go into HAVING
clause in the result SQL statement;