I\'m trying to get the top N records (when ordered by some column X), but have the result set in reverse order. The following statement is incorrect, but pr
An alternate solution to this question for all non-supported versions for TOP keyword is to use LIMIT. Example :-
SELECT * FROM (SELECT * FROM FooTable ORDER BY X DESC LIMIT 10) as myAlias ORDER BY X ASC