Problem mit mysql-Update

TitoTRT

Grünschnabel
Hallo Leute, ich habe ein kleines Problem mit folgender Abfrage:

MySql Version < 4.1


Code:
DROP TABLE IF EXISTS tmp_custom;
CREATE TEMPORARY TABLE tmp_custom TYPE = HEAP
 SELECT field_0, field_1, field_2, field_3 FROM temp_customers GROUP BY field_0;
UPDATE customers LEFT JOIN tmp_custom 
ON customers.customers_email_address = tmp_custom.field_0 
SET customers.wwsystem_customers_id=t.field_1,
customers.delivery_lock=tmp_custom.field_3,
customers.last_package=tmp_custom.field_2;
DROP TABLE IF EXISTS tmp_custom;

MySql meldet ständig ich hätte einen fehler in desem Bereich:

Code:
customers LEFT JOIN tmp_custom ON customers.customers_email_address

Allerdings kann ich den Fehler nicht finden.
Laut mysql Referenz sollte es aber funktionieren

Ich bin euch jetzt schon dankbar für eure Hilfe
 
Zurück