我猜你想要:
SELECT "Nomenclature",
MAX(CASE WHEN ad."Title" = 'ÐÑÑ
нÑ' THEN au."Value" END) AS "ÐÑÑ
нÑ",
MAX(CASE WHEN ad."Title" = 'ÐегеÑаÑианÑкое' THEN au."Value" END) AS "ÐегеÑаÑианÑкое",
MAX(CASE WHEN ad."Title" = 'ÐоÑÑное' THEN au."Value" END) AS "ÐоÑÑное",
MAX(CASE WHEN ad."Title" = 'ÐоÑÑное' THEN au."Value" END) AS "ÐÐ»Ñ ÑеÑÑоÑанов"
FROM "AttributeUnit" au JOIN
"AttributeDictionary" ad
ON au."AttributeDictionary" = ad."@AttributeDictionary"
WHERE "Nomenclature" = ANY (ARRAY(SELECT "@Nomenclature" FROM base_info)) AND
ad."Title" IN ('ÐÑÑ
нÑ', 'ÐегеÑаÑианÑкое', 'ÐоÑÑное', 'ÐÐ»Ñ ÑеÑÑоÑанов')
GROUP BY "Nomenclature";