enzo845555 ha scritto:
Devi usare un INSERT ... SELECT

http://dev.mysql.com/doc/refman/4.1...ert-select.html

Sono andato sul sito indicato. Ad un certo punto c'è sritto:

- Currently, you cannot insert into a table and select from the same table in a subquery

Ke significa che non puoi inserire in una tabella e selezionare dalla STESSA TABELLA in una sottoquery, che è invece la cosa ke vuole fare robyd.

Perché hai dato questo suggerimento? Per caso l'hai provato e funziona quando insert e select si riferiscono alla stessa tabella?