SELECT Table1.*
FROM Table1
INNER JOIN Table2 USING (ID);
of
SELECT *
FROM Table1
WHERE ID IN (SELECT ID FROM Table2);
maar de eerste is beter om prestatieredenen.
SELECT Table1.*
FROM Table1
INNER JOIN Table2 USING (ID);
of
SELECT *
FROM Table1
WHERE ID IN (SELECT ID FROM Table2);
maar de eerste is beter om prestatieredenen.