Code: Alles auswählen.
DATA: isbn LIKE ybuch1-isbn,
autor LIKE ybuch1-autor,
titel LIKE ybuch-titel,
exemplarnr LIKE yexemplar-exemplarnr.
TABLES: ybuch1, yexemplar.
SELECT b~isbn b~autor b~titel
INTO (isbn, autor, titel)
FROM ybuch1 AS b
JOIN yexemplar AS e
ON b~isbn = e~buchisbn.
IF ybuch1-isbn IN yexemplar.
WRITE: isbn, autor, titel.
ENDIF.
ENDSELECT.