SELECT DISTINCT a.item_value as director,
c.item_value as code,
d.item_value as raion,
e.item_value as nazvanie,
f.item_value as hzchto3,
g.item_value as nomer,
h.item_value as hzchto2,
i.item_value as vid,
k.item_value as tip,
l.item_value as finansirovanie,
m.item_value as orgforma,
n.item_value as podchinenie,
o.item_value as okrug,
p.item_value as hzchto1
from KF_ATTR_VALUE a
left join KF_ATTR_VALUE b on a.obj_id=b.obj_id
left join KF_ATTR_VALUE c on a.obj_id=c.obj_id
left join KF_ATTR_VALUE d on a.obj_id=d.obj_id
left join KF_ATTR_VALUE e on a.obj_id=e.obj_id
left join KF_ATTR_VALUE f on a.obj_id=f.obj_id
left join KF_ATTR_VALUE g on a.obj_id=g.obj_id
left join KF_ATTR_VALUE h on a.obj_id=h.obj_id
left join KF_ATTR_VALUE i on a.obj_id=i.obj_id
left join KF_ATTR_VALUE k on a.obj_id=k.obj_id
left join KF_ATTR_VALUE l on a.obj_id=l.obj_id
left join KF_ATTR_VALUE m on a.obj_id=m.obj_id
left join KF_ATTR_VALUE n on a.obj_id=n.obj_id
left join KF_ATTR_VALUE o on a.obj_id=o.obj_id
left join KF_ATTR_VALUE p on a.obj_id=p.obj_id
where
a.attr_id=186
and c.attr_id = 167
and d.attr_id = 168
and e.attr_id = 190
and f.attr_id = 199
and g.attr_id = 203
and h.attr_id = 211
and i.attr_id = 212
and k.attr_id = 213
and l.attr_id = 214
and m.attr_id = 215
and n.attr_id = 216
and o.attr_id = 217
and p.attr_id = 425
Может можно это как-то по лучше?)
===
update: