I a have a table name(weight) in database

| id | 1000 | 500 | 300 | 100 | 1 |
| --- | --- | --- | --- | --- | --- |
| 1 | 60 | 120 | 140 | 180 | 200 |

for 1000 (1kg)time required is 60

for 500 (.5kg)time required is 120 and so on

based on this weight data should be fetched from the table

If the entered weight by the user is 700 it should fetch the data of 500 which is the less than 700 and return the value 120

so my code must be like

```
    SELECT (column name)<700 FROM Weight WHERE id=1 

```

Thanks:)