join and update

Where is the error in this update with join

update snx_comuni set sta_id = 2782
from snx_comuni
inner join snx_province on snx_comuni.provincia_id =
snx_province.provincia_id
inner join snx_regioni on snx_province.regione_id = snx_regioni.regione_id
where snx_regioni.codice_regione = 'PIE'
michele [ Mi, 05 Dezember 2007 12:45 ] [ ID #1886201 ]
Datenbanken » mailing.database.mysql » join and update

Vorheriges Thema: help,a regular text file how to sql 2000 table code ?
Nächstes Thema: Unusual Query Help Request