Ver Mensaje Individual
  #4 (permalink)  
Antiguo 15/12/2010, 09:57
dianays
 
Fecha de Ingreso: agosto-2010
Mensajes: 147
Antigüedad: 13 años, 8 meses
Puntos: 1
Respuesta: Ayuda con consulta DELETE

gracias chicos....

oie gnzsoloyo la consulta q me das no me borra me marca el sig. error:::

#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'R INNER JOIN DETALLE_REPORTE D ON R.folio = D.folio WHERE R.folio = 3' at line 1

asi es como tengo la tabla detalle_reporte

Estructura de tabla para la tabla `detalle_reporte`
--

CREATE TABLE IF NOT EXISTS `detalle_reporte` (
`folio` int(5) NOT NULL,
`fecha` date NOT NULL,
`hora` time NOT NULL,
`no_inter` int(5) NOT NULL,
`activ_report` varchar(300) NOT NULL,
KEY `folio` (`folio`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
__________________
ѕiεмpяε εѕтoy ѕoñαиdo *εи iиviεrиo coи εℓ ѕoℓ, coи ℓαѕ иubεѕ εи vεrαиo*
***DiαиiтHα***