sql - Getting records which have closer date to given Input date -
I have a table of data (db is mssql): input date: 01-09-2014
< Pre>I want to make a query that sets the returns on the record's return, but only the last modified To Thi which is closely below, the input went on.
From the example table, I would like to get back the following information:
ID orderon partcode fund IDC quantity finally modified 417 2144 44 9 17A 100 31-08- 2014 418 7235 11762 B5 31-08-2014 41 9 9991 60657 C100 31-08-2014 420 992 60658 D 90 31-08-2014
Thank you!
Comments
Post a Comment