I had to skip aggregate functions for the initial release due to time constraints. These will be added later (probably in december or even later). A view or stored procedure are, sadly, the current options you have. I regret not having them in the library (as you will have noticed, there is a grouped by clause implemented already but no aggregate function support) but they will be added, it depends on when I have time to do so. Priority no.1 is support for Oracle, firebird/interbase and Postgresql.