|
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 |
ID |
number |
0 |
√ |
|
null |
|
|
VEHICLE_ID |
number |
38 |
√ |
|
null |
|
VEHICLES.VEHICLE_ID
|
Implied Constraint R |
|
DATE_OF_INFO |
date |
7 |
√ |
|
null |
|
|
ROLE_CODE |
varchar2 |
30 |
√ |
|
null |
|
|
TYPE |
char |
1 |
√ |
|
null |
|
|
Analyzed at Mon Sep 20 21:05 MDT 2021
|
View Definition:
select person_id ID
, vehicle_id
, date_of_info
, role_code
, 'P' TYPE
from people_vehicles
UNION
select business_number ID
, vehicle_id
, date_of_info
, role_code
, 'B' TYPE
from business_vehicles
order by date_of_info desc
Possibly Referenced Tables/Views: