I have a table
id |value |date
-------------------
1 |2.8 |28-3-14
2 |2.9 |28-7-14
3 |3.9 |20-1-14
in this table i need to get the value of 21-3-14
.
but if value or object is not present for that then query get output of 20-1-14
directly without one by one search object by minus date by 1 day.
if any one know about this please give me suggestion.