Mapping many tables in ERM/ DB (pre aggregated statistical data)
===

I have to store much pre aggregated statistical data in a database. The statistical data are (sub)sums for many combinations of attributes (the end user can choose a combination and gets a table or chart).
So each combination is stored in its own table (storing all in one table would result in an almost empty table). In another table the mapping between attribute combination and table name is stored (tableName, attribute1:Boolean,...,attributeN:Boolean).

My problem is: how to "draw" this in an ERM-model (mapping key->table name)? At the end i want a model that could be used to generate the DB-schema. At the moment i use MySQL-Workbench but i also have Enterprise Architect.

