PIVOT
borde fungera bra - SQL Fiddle-demo (schema lånat från bluefeets svar)
SELECT *
FROM source
PIVOT (
MIN(org) AS org,
MIN(position) AS position
FOR lang
IN('EN' AS en, 'FI' AS fi, 'SV' AS sv)
);
PIVOT
borde fungera bra - SQL Fiddle-demo (schema lånat från bluefeets svar)
SELECT *
FROM source
PIVOT (
MIN(org) AS org,
MIN(position) AS position
FOR lang
IN('EN' AS en, 'FI' AS fi, 'SV' AS sv)
);