SQL MODEL - RULES UPSERT SEQUENTIAL ORDER ITERATE(n)
The query below shows the Oracle SQL MODEL
- RULES UPSERT SEQUENTIAL ORDER ITERATE(4)
to model data for four
years from 2010 through 2013. The rule as shown
below applies to product - "Laptop". The string
specification (upper case, initcap or lower) in
the rule has to match the database data (Laptop)
for the rule to work.
SQL Model Query Output
The same rules are applied for county 2 and 3. since there
is no laptop data for county 3, all four years have 0 value
as shown in query output above. The IGNORE NAV converts
the null values to 0. The value of ITERATION_NUMBER starts
with 0 and in this query the last value is 3.
Available sales data in above query table (fact) with all dimension using
Oracle registered trademark of Oracle Corporation.