|
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 |
CODE |
varchar2 |
30 |
|
|
|
|
|
DESCRIPTION |
varchar2 |
4000 |
√ |
|
null |
|
|
NIBRS_CODE |
varchar2 |
30 |
|
|
|
|
|
CODE_TYPE |
varchar2 |
30 |
|
|
|
|
|
CHILD_CODE_TYPE |
varchar2 |
30 |
√ |
|
null |
|
|
CHILD_CODE |
varchar2 |
30 |
√ |
|
null |
|
|
Analyzed at Mon Sep 20 21:05 MDT 2021
|
View Definition:
SELECT ncp.code, ecd.description, ncp.nibrs_code, ncp.code_type,
ecr.child_code_type, ecr.child_code
FROM ejs_code_nibrs_mappings ncp INNER JOIN ejs_codes ecd
ON ecd.code_type = ncp.code_type AND ecd.code = ncp.code
LEFT OUTER JOIN ejs_codes_relations ecr
ON ecr.parent_code_type = ncp.code_type
AND ecr.parent_code = ncp.code
WHERE ncp.code_type = 'RELATION_CODES'
Possibly Referenced Tables/Views: