|
|
| Legend: |
| Primary key columns |
| Columns with indexes |
| Implied relationships |
| Excluded column relationships |
| < n > number of related tables |
|
|
| Column |
Type |
Size |
Nulls |
Auto |
Default |
Children |
Parents |
| NIBRS_CODE |
varchar2 |
30 |
√ |
|
null |
|
|
| CODE_TYPE |
varchar2 |
30 |
|
|
|
|
|
| QUESTION |
varchar2 |
4000 |
√ |
|
null |
|
|
| QTN_ORDER |
number |
0 |
√ |
|
null |
|
|
Analyzed at Mon Sep 20 21:05 MDT 2021
|
View Definition:
SELECT DISTINCT nm.nibrs_code nibrs_code,
ecq.code code_type,
ecq.screen_prompt question,
ecq.sort_order qtn_order
FROM nibrs_code_ejs_mappings nm
RIGHT OUTER JOIN nibrs_tab_cols nt
ON nt.inc_section_code = 'OFFENSES'
INNER JOIN ejs_codes ecq
ON ecq.code_type='EJS_CODES'
AND ecq.code = nt.code
WHERE nt.code NOT IN (SELECT enm.ec_code_type
FROM ejs_code_nibrs_mappings enm
WHERE enm.nibrs_code = nm.nibrs_code)
AND ecq.active = 'Y'
ORDER BY ecq.sort_order
Possibly Referenced Tables/Views: