-- View: public.valid_vehicle

-- DROP VIEW public.valid_vehicle;

DROP TABLE IF EXISTS public.valid_vehicle;

create table  valid_vehicle as
select * from vehicle_vehicle vv
where vv.id not in (select id from invalid_vehicle);

-- ALTER TABLE public.valid_vehicle
--    OWNER TO postgres;

