Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SELECT vo.company_name, vopc.name, p.*
- FROM person p, vo_person_category vopc, vehicle_owner vo
- WHERE p.vo_person_category_id = vopc.vo_person_category_id
- AND vopc.vehicle_owner_id = vo.vehicle_owner_id
- AND p.cost_per_hour IS NOT NULL
- AND p.person_status_id = 0
- ORDER BY 1;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement