|
|
| 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 |
| MODULE |
varchar2 |
8 |
√ |
|
null |
|
|
| VEHICLE_ID |
number |
38 |
√ |
|
null |
|
| VEHICLES.VEHICLE_ID
|
Implied Constraint R |
|
| COUNT |
number |
0 |
√ |
|
null |
|
|
Analyzed at Mon Sep 20 21:05 MDT 2021
|
View Definition:
SELECT DISTINCT 'Business', vehicle_id, COUNT (bv.role_code)
FROM business_vehicles bv
GROUP BY 1, vehicle_id
UNION
SELECT DISTINCT 'Incident', vehicle_id, COUNT (iv.role_code)
FROM incident_vehicles iv
GROUP BY 1, vehicle_id
UNION
SELECT DISTINCT 'People', vehicle_id, COUNT (pv.role_code)
FROM people_vehicles pv
GROUP BY 1, vehicle_id
Possibly Referenced Tables/Views: