Pivoting of data using two columns

PIVOT should work fine – SQL Fiddle demo (schema borrowed from bluefeets answer)

SELECT *
FROM   source
PIVOT (
        MIN(org) AS org,
        MIN(position) AS position
        FOR lang
        IN('EN' AS en, 'FI' AS fi, 'SV' AS sv)
      );

Leave a Comment