Merging
tables refers to joining together two or more tables that have different information about the same objects. Example: a
retail chain has one table with information about each store’s general characteristics (e.g., floor space, type of
mall), another table with summarized sales data (e.g., profit, percent change in sales from previous year), and another
with information about the demographics of the surrounding area. Each of these tables contains one record for each
store. These tables can be merged together into a new table with one record for each store, combining fields from the
source tables.
Merged
data also covers aggregations. Aggregation refers to operations in which new values are computed by summarizing
information from multiple records and/or tables. For example, converting a table of customer purchases where there is
one record for each purchase into a new table where there is one record for each customer, with fields such as number
of purchases, average purchase amount, percent of orders charged to credit card, percent of items under promotion,
etc.
|