Nov 30, 2005 #1 tcolebu MIS Aug 24, 2004 6 US I have a "revenue field" in a table of several hundred records. How can I query only the top 100?
Nov 30, 2005 #2 PHV MIS Nov 8, 2002 53,708 FR SELECT TOP 100 * FROM yourTable ORDER BY [Revenue field] DESC Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886 Upvote 0 Downvote
SELECT TOP 100 * FROM yourTable ORDER BY [Revenue field] DESC Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886