drop view if exists insurers;
create view insurers (name, code) as select a2,a3 from mumps where a1='insurers';

drop view if exists patientID;

create view patientID (ptid, date, time, street, citystate, zip, tel, insurercode) as 
select a2,a3,a4,a5,a6,a7,a8,a9 from mumps where a1='patientid';

