
18/05/2012, 03:48
|
| | Fecha de Ingreso: febrero-2010
Mensajes: 157
Antigüedad: 15 años Puntos: 5 | |
Respuesta: Consulta abm - tablas relacionadas un lapsus
SELECT i.nombreIngrediente,
r.cantidad
FROM (productos p
INNER JOIN RelProductoIngrediente r
ON p.idProducto=r.idProducto)
INNER JOIN ingredientes i
ON i.idIngrediente=r.idIngrediente
WHERE p.idProducto=X |