Currently I have a set of queries that break down to something like this...
Number Item Date 0000004 001 9/10/2013 0000004 001 6/14/2013 0000004 001 5/19/2013 0000004 001 2/5/2013 0000004 001 1/19/2013 0000004 001 1/1/2013
What I'd like to do, is take this long query, and only take the first result of the returned values, I.E.:
Number BillNumber RequiredDate 0000004 001 9/10/2013
(Note: There are more results in the query, I'm just condensing it).
Something like this ALMOST works...
SELECT DISTINCT dates.Number
FROM dates;
The above will give me a unique list from the "Number" column, but I can't manage to get the data to it's right back into place.
Was hoping you guys could help me out!