In the simplest cases, the pre-aggregated data corresponds to aggregating the fact table on one or more selected dimensions. Such pre-aggregated summary data can be represented in the database in at least two ways. Let us consider the example of a summary table that has total sales by product by year in the context of the star schema of Figure 3. We can represent such a summary table by a separate fact table which shares the dimension Product and also a separate shrunken dimension table for time, which consists of only the attributes of the dimension that make sense for the summary table (i.e.,year).