I'm trying to combine two tables with join in Access 2003, however I keep getting:
Syntax Error in from clause.
I don't understand what's wrong, Google didn't help me either...
INSERT INTO Korrekturentlastung_Kurs
SELECT *
FROM
(Korrekturentlastung_Lehrer_Schueler
INNER JOIN Korrekturentlastung_aktuelle_Schueler)
You are missing an ON
clause.
If you want all combinations from the two tables, you can use:
SELECT *
FROM Korrekturentlastung_Lehrer_Schueler INNER JOIN
Korrekturentlastung_aktuelle_Schueler
ON 1=1;
This is equivalent to a CROSS JOIN
in other databases -- which Access does not support. Or, you can use a comma:
SELECT *
FROM Korrekturentlastung_Lehrer_Schueler,
Korrekturentlastung_aktuelle_Schueler;
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.