I have an MS Access database that contains translated sentences in source-target pairs (a translation memory for fellow users of CAT tools). Somewhat annoyingly, source and
SELECT a.id, MAX(CASE WHEN a.lang LIKE 'a' THEN a.text) AS Lang A, MAX(CASE WHEN a.lang LIKE 'a' THEN a.text) AS Lang A FROM table a GROUP BY a.id