The basic syntax for the MODEL clause is shown in Figure 10.8. The
MODEL clause appears after every other syntax element in a SELECT
statement query, even after the GROUP BY clause.
Figure 10.9 shows a much more detailed syntax of the MODEL clause.
10.2.1Cell References
Cell reference syntax dictates treatment of NULL or missing values and
unique values across MODEL clause defining columns:
[
[ {IGNORE|
KEEP
} NAV ]
[ UNIQUE {
DIMENSION
|SINGLE REFERENCE} ]
]
Figure 10.8
MODEL clause
syntax location.
Figure 10.9
Detailed MODEL
clause syntax.
10.2
MODEL Clause Syntax289
Chapter 10
KEEP NAV
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.