Código SQL [-] Select M.DNI, D1.Producto, D2.Producto From Maestro M join Detalle D1 on M.DNI = D1.DNI and D1.Producto = :Producto4 join Detalle D2 on M.DNI = D2.DNI and D2.Producto = :Producto12 Where M.DNI is not null
Select M.DNI, D1.Producto, D2.Producto From Maestro M join Detalle D1 on M.DNI = D1.DNI and D1.Producto = :Producto4 join Detalle D2 on M.DNI = D2.DNI and D2.Producto = :Producto12 Where M.DNI is not null