A database system includes a storage that contains plural tables as well
as a predefined data structure. The database system is able to, in
response to a join query, perform a join of two or more tables. The
database system also is able to determine, based on values contained in
the predefined data structure, whether a group-by operation can be
skipped.