como puse en el título necesito saber si se puede utilizar MATCH AGAINST sobre dos tablas relacionadas
tengo tres tablas (no tienen todas las columnas, copio solo lo que sirve para esta consulta):
`conferenciantes` (
`id` int(11) NOT NULL auto_increment,
`nombre` varchar(100) NOT NULL default '',
`apellido` varchar(100) NOT NULL default '',
`tema` int(11) NOT NULL,
PRIMARY KEY (`id`),
FULLTEXT KEY `nombre_2` (`nombre`,`apellido`)
) ENGINE=MyISAM
conferencias` (
`id` int(11) NOT NULL auto_increment,
`id_conf` int(11) NOT NULL default '0',
`titulo` varchar(255) NOT NULL,
`descripcion` text NOT NULL,
PRIMARY KEY (`id`),
FULLTEXT KEY `titulo_2` (`titulo`,`descripcion`)
) ENGINE=MyISAM
`temas` (
`id` int(11) NOT NULL auto_increment,
`nombre` varchar(100) NOT NULL,
PRIMARY KEY (`id`),
FULLTEXT KEY `nombre` (`nombre`)
) ENGINE=MyISAM
intenté meterle siguiente código y nada:
Código:
si hago la consulta separada (en cada una de las tablas me funciona), no me funciona cuando intento meter columnas de dos tablas diferentes.consulta SQL: SELECT c.nombre, c.apellido, t.nombre AS tema, cc.titulo, cc.descripcion FROM conferenciantes c, temas t, conferencias cc WHERE MATCH ( c.nombre, c.apellido, cc.titulo, cc.descripcion ) AGAINST ( 'nombre' ) AND c.tema = t.id AND c.id = cc.id_conf LIMIT 0 , 30 MySQL ha dicho: #1210 - Incorrect arguments to MATCH
Alguien pudo solucionar este tipo de busquedas??
desde ya muchas gracias.