![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
28/01/2011, 12:01
|
![Avatar de mayid](http://static.forosdelweb.com/customavatars/avatar293515_6.gif) | Colaborador | | Fecha de Ingreso: marzo-2009 Ubicación: BsAs
Mensajes: 4.014
Antigüedad: 15 años, 10 meses Puntos: 101 | |
Respuesta: eliminar duplicados en tabla sin key Listo. Lo que hice fue poner el indice UNIQUE a la tabla temporal, antes de llenarla. Y lo mismo a la tabla puntuaciones antes de volver a llenarla:
Código MySQL:
Ver original `ip` , `id_foto` ); `ip` , `id_foto` );
|