DBA Data[Home] [Help]

VIEW: APPS.MST_MAP_FACILITY_LOV_V

Source

View Text - Preformatted

SELECT distinct mt.plan_id, fte.location_id, fte.facility_code, fte.description, wsh.city || ', '|| wsh.state location from mst_trips mt, mst_trip_stops mts, wsh_locations wsh, fte_location_parameters fte WHERE mt.trip_id = mts.trip_id AND mt.plan_id = mts.plan_id AND mts.stop_location_id = wsh.wsh_location_id AND wsh.wsh_location_id = fte.location_id
View Text - HTML Formatted

SELECT DISTINCT MT.PLAN_ID
, FTE.LOCATION_ID
, FTE.FACILITY_CODE
, FTE.DESCRIPTION
, WSH.CITY || '
, '|| WSH.STATE LOCATION
FROM MST_TRIPS MT
, MST_TRIP_STOPS MTS
, WSH_LOCATIONS WSH
, FTE_LOCATION_PARAMETERS FTE
WHERE MT.TRIP_ID = MTS.TRIP_ID
AND MT.PLAN_ID = MTS.PLAN_ID
AND MTS.STOP_LOCATION_ID = WSH.WSH_LOCATION_ID
AND WSH.WSH_LOCATION_ID = FTE.LOCATION_ID