Ok Rudy, First thank you for the quick response you are great(because you answered my question that I posted before)
Anyway forget my last question... I have a table like below:
name value
-------------
| row1 | 9 |
| row2 | 12 |
| row3 | 28 |
| row4 | 14 |
| row5 | 10 |
| row6 | 15 |
| row7 | 21 |
| row8 | 17 |
-------------
I want to select 2 row which has a value bigger than 10 so I wrote the below query
SELECT value, value > 10 FROM shipment_db ORDER BY value DESC LIMIT 2;
but this query returns below:
name value
-------------
| row3 | 28 |
| row7 | 21 |
-------------
The biggest valued rows which has a value bigger than 10... But I want the nearest bigger values like below:
name value
-------------
| row4 | 14 |
| row2 | 12 |
-------------
So how can I achieve that???
Thank you much,
Cem Louis