DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SQL
sql reverse order of results
SELECT q.* FROM (SELECT TOP 3 * FROM table ORDER BY id DESC) q ORDER BY q.id ASC
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#sql
#reverse
#order
#results
ADD COMMENT
Topic
COMMENT
Name
6+4 =
Submit