
10/11/2009, 09:13
|
| | Fecha de Ingreso: junio-2007 Ubicación: Buenos Aires, Argentina
Mensajes: 262
Antigüedad: 17 años, 11 meses Puntos: 1 | |
Respuesta: Resultados no coincidentes con JOIN Gracias por tu respuesta, huesos52. Aquí va la estructura:
Código:
tabla1 (
`id` bigint(20) NOT NULL auto_increment
`id_foro` int(11) default NULL
`nombre` varchar(255) default NULL
`mail` varchar(255) NOT NULL
`desregistrado` tinyint(2) NOT NULL
`fechaingreso` datetime NOT NULL,
`mailmd5` varchar(32) NOT NULL
PRIMARY KEY (`id`),
UNIQUE KEY `mail` (`mail`),
UNIQUE KEY `mailmd5` (`mailmd5`)
)
tabla2 (
`id_usuario` bigint(20) NOT NULL,
`id_grupo` bigint(20) NOT NULL,
PRIMARY KEY (`id_usuario`,`id_grupo`),
KEY `id_grupo` (`id_grupo`)
)
Estoy muy desconcertado.
¿Alguna idea?
Gracias!
Pablo |