{"id":27,"date":"2010-06-22T20:42:33","date_gmt":"2010-06-22T20:42:33","guid":{"rendered":"https:\/\/ibex.tech\/cloud\/?p=27"},"modified":"2022-02-17T07:14:16","modified_gmt":"2022-02-17T07:14:16","slug":"orderby","status":"publish","type":"post","link":"https:\/\/ibex.tech\/cloud\/sql-server\/queries-microsoft-sql-server\/select-statements\/orderby","title":{"rendered":"ORDER BY"},"content":{"rendered":"<pre>\r\n<code>\r\nORDER BY UserName ASC&quot;;\r\nORDER BY UserName DESC&quot;;\r\nORDER BY Country, UserName&quot;; \/\/For multiple fields\r\n<\/code><\/pre>\n<h4>\nDateTime most recent first<br \/>\n<\/h4>\n<pre>\r\n<code>\r\nORDER BY MyDateColumn DESC&quot;;\r\n<\/code><\/pre>\n<p>\n&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>ORDER BY UserName ASC&quot;; ORDER BY UserName DESC&quot;; ORDER BY Country, UserName&quot;; \/\/For multiple fields DateTime most recent first ORDER BY MyDateColumn DESC&quot;; &nbsp;<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-27","post","type-post","status-publish","format-standard","hentry","category-select-statements"],"_links":{"self":[{"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/posts\/27","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/comments?post=27"}],"version-history":[{"count":4,"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/posts\/27\/revisions"}],"predecessor-version":[{"id":1618,"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/posts\/27\/revisions\/1618"}],"wp:attachment":[{"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/media?parent=27"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/categories?post=27"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/tags?post=27"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}