I have a table like this:
user | date | value |
-------|------------|-----------|
mark | 13/04/2007 | 1
peter | 11/04/2007 | 2
peter | 10/04/2007 | 1
mark | 11/04/2007 | 3
peter | 01/04/2007 | 10
mark | 01/04/2007 | 1
mark | 04/03/2007 | 34
peter | 01/03/2007 | 3
i need make a select who give me value where the date its the more near to NOW() for any user.
thanks!
user | date | value |
-------|------------|-----------|
mark | 13/04/2007 | 1
peter | 11/04/2007 | 2
peter | 10/04/2007 | 1
mark | 11/04/2007 | 3
peter | 01/04/2007 | 10
mark | 01/04/2007 | 1
mark | 04/03/2007 | 34
peter | 01/03/2007 | 3
i need make a select who give me value where the date its the more near to NOW() for any user.
thanks!