Methods, systems and articles of manufacture for query building with
selectability of summary information. A user interface exposes a
plurality of query composition elements for building abstract queries is
defined by a data abstraction model. The user interface allows a user to
select and apply aggregation operations to result fields of a given
abstract query, and further allows a user to define result groups for the
given query. The user interface further allows a user to selectively
specify whether the given query will be executed as an aggregation query
(by applying the aggregation operations), in which case summary
information is returned according to the specified result group(s).