create or replace view partner_v as
select a.id,vendorname,address,nation,contactperson,tel1,tel2,jylx,partnerlx,d.xian,c.city,b.
province
from partner_mgnt_md as a join province b join city c join area d
on (b.ID=a.province
and a.city = c.ID
and a.area = d.ID)