Jika Oracle mendukung nomor baris (dipartisi oleh), Anda dapat membuat sub kueri dengan memilih di mana baris sama dengan 1.
SELECT * FROM table1
LEFT JOIN
(SELECT *
FROM (SELECT *,
ROW_NUMBER()
OVER(PARTITION BY assignmentgroup ORDER BY assignmentgroup) AS Seq
FROM table2) a
WHERE Seq = 1) v
ON assignmet = v.assignmentgroup