
17/04/2012, 09:04
|
 | | | Fecha de Ingreso: noviembre-2011 Ubicación: Coruña, España
Mensajes: 430
Antigüedad: 13 años, 3 meses Puntos: 67 | |
Respuesta: numero aproximado Mmmm, hay opciones parecidas.
Si quieres que te enseñe el más próximo por encima:
SELECT monto FROM tabla WHERE monto >= 305 ORDER BY monto ASC LIMIT 1;
Si quieres el más próximo por debajo:
SELECT monto FROM tabla WHERE monto <= 305 ORDER BY monto DESC LIMIT 1; |