Scott OConnell wrote: > I am trying to get a list of articles for a "related article" section. > I want to order the list by the "Count" or the number of duplicated > rows returned (the more rows returned, the closer that article is to a > match) I have FINALLY worked out how to get this list, AND count it. > But... I can't seem to get the list to order by rank. > > SELECT Count(*) AS Rank
Rank is the keyword for using SQL windowing functions. Don't use keywords for column names. Jochem ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267586 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

