Ver Mensaje Individual
  #4  
Antiguo 23-11-2006
luisgutierrezb luisgutierrezb is offline
Miembro
 
Registrado: oct 2005
Ubicación: México
Posts: 925
Reputación: 19
luisgutierrezb Va por buen camino
muy simple, aqui te falta el inner join para los clientes, suponiendo que tu tabla se llama clientes y el campo llave de esta es idCliente, entonces a tu instruccion que no te funciono agregale al final:

INNER JOIN Clientes ON Clientes.idCliente = Factura.idCliente

te quedaria algo asi como:
Código SQL [-]
SELECT (Detalle.*, Producto.Descripcion ,Cliente.nombre) 
FROM Detalle 
INNER JOIN Factura ON Detalle.idfactura = Factura.idfactura 
INNER JOIN Producto ON Producto.idProducto = Detalle.idPRoducto
INNER JOIN Clientes ON Clientes.idCliente = Factura.idCliente
Responder Con Cita