Prova così
codice:UPDATE articoli SET ordine = ( select * from (select MAX(ordine) From articoli WHERE tipo = 1 AND anno = 2009) as tab1) where id = quello_che_vuoi
Prova così
codice:UPDATE articoli SET ordine = ( select * from (select MAX(ordine) From articoli WHERE tipo = 1 AND anno = 2009) as tab1) where id = quello_che_vuoi