6\u3001\u67e5\u8be2\u7b2c2\u6761\u4ee5\u540e\u7684\u8bb0\u5f55<\/strong><\/div>\n\r\nselect *\r\n\u00a0\u00a0from (select t.*, rownum as no\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0from (select * from table_Name order by\u00a0active_count\u00a0desc) t)\r\n\u00a0where no >=2\r\n<\/pre>\n<\/p>\n
\u89e3\u91ca\uff1a<\/p>\n
rownum \u662f\u5728\u5df2\u4ea7\u751f\u6570\u636e\u7684\u57fa\u7840\u4e0a\u4f2a\u751f\u6210\u7684\u7f16\u53f7\uff0c\u6240\u4ee5 \u4f7f\u7528rownum \u5fc5\u987b\u5728\u5df2\u6709\u6570\u636e\u7684\u57fa\u7840\u4e0a\uff0c\u56e0\u6b64Oracle\u5206\u9875\u624d\u52a0\u5165\u4e86\u591a\u4e2a\u5b50\u67e5\u8be2\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"
\u4e0b\u9762\u662fOracle\u5206\u9875\u7b80\u5355\u4e8b\u4f8b\u56fe\u7247\u4ee5\u53ca\u4ee3\u7801\uff1a select * from table_Name\u00a0t order […]<\/p>\n","protected":false},"author":1903,"featured_media":214990,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[55],"tags":[],"class_list":["post-214976","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-thread"],"acf":[],"_links":{"self":[{"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/posts\/214976","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/users\/1903"}],"replies":[{"embeddable":true,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/comments?post=214976"}],"version-history":[{"count":4,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/posts\/214976\/revisions"}],"predecessor-version":[{"id":215074,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/posts\/214976\/revisions\/215074"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/media\/214990"}],"wp:attachment":[{"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/media?parent=214976"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/categories?post=214976"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/tags?post=214976"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}