direi che e' impossibile con una query.
I casi sono due: o usi il default per i campi oppure elenchi tutti i campi che vuoi duplicare. Esiste pero' anche un altro problema. Lo standard ANSI SQL non permette che la tabella in INSERT sia uguale a quella in FROM del select. Sarebbe giocoforza quindi usare una tabella intermedia. Potresti fare:
codice:create temporary table temp select * from tabella where id = 'nn'; update temp set id = ''; insert into tabella select * from temp;![]()