Es mi idea o este es otro problema muy aparte del primero, lo siento no he leido el Thread completo
2009/1/15 Juan Jose Rosales Rodriguez <jjrosa...@estudiantes.uci.cu>: > Buenas tardes tengo orto problemita > > Quiero sacar lod datos duplicados de un campo > algo asi > > > Nombre| Edad |SEXO > ------- -|---------|------------ > JUAN | 12 | M > OMAR| 13 | M > JUAN | 12 | M > JUAN | 12 | M > JUAN | 12 | M > JUAN | 12 | M > pepe | 12 | M > pepe | 12 | M > pepe | 12 | M > > y da como result si busca por nombre el duplicado quedaria asi > > Nombre| Edad |SEXO > ------- -|---------|------------ > JUAN | 12 | M > JUAN | 12 | M > JUAN | 12 | M > JUAN | 12 | M > JUAN | 12 | M > pepe | 12 | M > pepe | 12 | M > pepe | 12 | M > select nombre, edad, sexo, count(*) from <TABLA> group by nombre, edad, sexo having count(*) > 1 prueba con este select -- "Linux is for people who hate Windows, BSD is for people who love UNIX". "Social Engineer -> Because there is no patch for human stupidity" "The Unix Guru's View of Sex unzip ; strip ; touch ; grep ; finger ; mount ; fsck ; more ; yes ; umount ; sleep." "Documentation is like sex: when it is good, it is very, very good; and when it is bad, it is better than nothing." -- TIP 10: no uses HTML en tu pregunta, seguro que quien responda no podrá leerlo