Definition: Die SQL-Anweisung INNER JOIN ermöglich die Erweiterung einer Tabelle um eine andere Tabelle.

Syntax

SELECT <colums>
FROM <table1>
INNER JOIN <table2> on <table1>.<table1_PK> = <table2>.<table2_PK>
WHERE <condition>

Beispiel

SELECT l.vorname, l.nachname
FROM schueler
INNER JOIN klasse on 
WHERE <condition>