Advertisement
psi_mmobile

Untitled

Feb 24th, 2025
155
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PL/SQL 0.72 KB | None | 0 0
  1. SELECT OcPoiCategory.NAME,
  2.        OcPoiCategory.OPERATION_CENTER_ID,
  3.        OcPoiCategory.OC_POI_CATEGORY_ID,
  4.        OcPoiCategory.GRAPHICAL_SYMBOL,
  5.        GuVehicleOwner.GUI_USER_ID,
  6.        GuVehicleOwner.GU_VEHICLE_OWNER_ID,
  7.        OcPoiCategory.SHORT_NAME
  8. FROM OC_POI_CATEGORY OcPoiCategory,      
  9. (SELECT * FROM gu_vehicle_owner
  10.                      WHERE gui_user_id = ?
  11.                        AND vehicle_owner_id = ?) GuVehicleOwner, VEHICLE_OWNER VehicleOwner
  12. WHERE OcPoiCategory.OC_POI_CATEGORY_ID = GuVehicleOwner.OC_POI_CATEGORY_ID(+)
  13. AND OcPoiCategory.OPERATION_CENTER_ID = VehicleOwner.DEFAULT_OPERATION_CENTER_ID
  14. AND VehicleOwner.VEHICLE_OWNER_ID = ?
  15. AND OcPoiCategory.IS_HOME_POI_CATEGORY != 'Y'
  16. ORDER BY 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement