Ver Mensaje Individual
  #4 (permalink)  
Antiguo 06/03/2012, 02:36
Avatar de repara2
repara2
 
Fecha de Ingreso: septiembre-2010
Ubicación: München
Mensajes: 2.445
Antigüedad: 13 años, 7 meses
Puntos: 331
Respuesta: Problema son SQL MIN() Obtener ID del registro

Entonces así:

Código MySQL:
Ver original
  1. SELECT P.* FROM precio P WHERE P.precio IN(SELECT MIN(P.precio) FROM precio P GROUP BY vendedor);
__________________
Fere libenter homines, id quod volunt, credunt.