| Table Name | Logical Name | Data | Column Names | Descriptive Column Names |
|---|---|---|---|---|
| PRCHS_PRFL_ANLYSIS | Sales transactions | Point-of-sales | TIME_ID |
TIME_ID |
| STORE | Store | Store properties | STR_IP_ID |
STR_IP_ID |
| PRODUCT | Product | Product properties | PD_ID |
PD_ID |
| TIME | Time | Time properties | TIME_ID |
TIME_ID |
The Inner join type assumes that all stores are included in the table Store so that rows from the table Sales transactions are not left out of the analysis.
Inner joins can be thought of as the cross product of the tables. Each row of the left table is combined with every row of the right table. Only the rows where the join condition is true are kept. In the result table, rows from each of the joined tables or from both might be missing.
The Left Outer join type ensures that sales data for new products that might still be missing in the table Product is not left out of the analysis.
The left outer join includes rows from the left table that are missing from the inner join.
The right outer join includes rows from the right table that are missing from the inner join.
The full outer join ensures that sales data and time data that might still be missing in the tables Sales transactions and Time is not left out of the analysis.
The full outer join includes rows from the left table and the right table that are missing from the inner join.
Because of rolling window definitions, all day/month/year values are mandatory in the tables.