Ciao a tutti,
sto cercando di esguire la seguente query:
L'errore che mi viene restituito dal db ècodice:UPDATE miatabella SET campo = 1 WHERE ID = (SELECT MIN(ID) FROM miatabella WHERE campo2 = 2)
Avete idee su come farla funzionare?codice:You can't specify target table 'miatabella' for update in FROM clause