Good spot. In that instance there will be 2 closest matches 4800 + 5200
If OP wants just 4800 I would replace the outer SUM with MIN for first match or MAX for last match
Good spot. In that instance there will be 2 closest matches 4800 + 5200
If OP wants just 4800 I would replace the outer SUM with MIN for first match or MAX for last match
Last edited by XLent; 12-31-2011 at 03:50 AM.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks