{"id":790,"date":"2007-07-20T06:06:30","date_gmt":"2007-07-20T09:06:30","guid":{"rendered":"http:\/\/blog.decade.com.br\/?p=790"},"modified":"2011-06-10T15:08:26","modified_gmt":"2011-06-10T18:08:26","slug":"question-06","status":"publish","type":"post","link":"https:\/\/blog.decade.com.br\/?p=790","title":{"rendered":"QUESTION: 06"},"content":{"rendered":"<p align=justify>\nWhich statement about SQL is true?<\/p>\n<p align=justify>\n<strong>A:<\/strong> Null values are displayed last in the ascending sequences.<br \/>\n<strong>B:<\/strong> Data values are displayed in descending order by default.<br \/>\n<strong>C:<\/strong> You cannot specify a column alias in an ORDER BY clause.<br \/>\n<strong>D:<\/strong> You cannot sort query results by a column that is not included in the SELECT list.<br \/>\n<strong>E:<\/strong> The results are sorted by the first column in the SELECT list, if the ORDER BY clause is not provided.<\/p>\n<p align=justify>\nANSWER: <strong>A<\/strong><\/p>\n<p align=justify>\nEXPLANATION: <strong>Answer A is correct because of null values are displayed last in the ascending sequences.<\/strong><\/p>\n<p align=justify>\nINCORRECT ANSWERS:<\/p>\n<p align=justify>\n<strong>B:<\/strong> Data values are displayed in ASCENDING order by default.<br \/>\n<strong>C:<\/strong> It is possible to specify a column alias in an ORDER BY clause (but not in a GROUP BY clause).<br \/>\n<strong>D:<\/strong> You can sort query results by a column that is not included in the SELECT list.<br \/>\n<strong>E:<\/strong> The results will not be sorted at all, if the ORDER BY clause was not used in query.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Which statement about SQL is true? A: Null values are displayed last in the ascending sequences. B: Data values are displayed in descending order by default. C: You cannot specify a column alias in an ORDER BY clause. D: You cannot sort query results by a column that is not included in the SELECT list. [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,13,8],"tags":[],"class_list":["post-790","post","type-post","status-publish","format-standard","hentry","category-1z0-001","category-oca-plsql-developer","category-oracle"],"_links":{"self":[{"href":"https:\/\/blog.decade.com.br\/index.php?rest_route=\/wp\/v2\/posts\/790","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.decade.com.br\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.decade.com.br\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.decade.com.br\/index.php?rest_route=\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.decade.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=790"}],"version-history":[{"count":0,"href":"https:\/\/blog.decade.com.br\/index.php?rest_route=\/wp\/v2\/posts\/790\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.decade.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=790"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.decade.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=790"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.decade.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=790"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}