{"id":566,"date":"2021-10-22T22:57:53","date_gmt":"2021-10-22T14:57:53","guid":{"rendered":"https:\/\/www.dataisfun.cn\/?p=566"},"modified":"2021-12-13T15:51:57","modified_gmt":"2021-12-13T07:51:57","slug":"sql-top-n","status":"publish","type":"post","link":"https:\/\/www.dataisfun.cn\/?p=566","title":{"rendered":"SQL-\u7ecf\u5178\u7684TOP N\u95ee\u9898"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\" style=\"font-size:12px\">\u524d\u6587\u603b\u7ed3\u4e86<a href=\"https:\/\/www.dataisfun.cn\/index.php\/2021\/10\/20\/sql%e8%bf%9e%e7%bb%ad%e7%99%bb%e5%bd%95\/\" target=\"_blank\" rel=\"noreferrer noopener\">SQL\u8fde\u7eed\u767b\u5f55<\/a>\u95ee\u9898\uff0c\u672c\u6587\u7ee7\u7eed\u603b\u7ed3\u7ecf\u5178\u7684 SQL TOP N \u95ee\u9898\uff0cTOP N\u95ee\u9898\u867d\u7136\u6bd4\u8f83\u7b80\u5355\uff0c\u4f46\u5176\u5e94\u7528\u573a\u666f\u5e76\u4e0d\u5c11\uff0c\u6bd4\u5982\u5217\u51fa\u6700\u53d7\u6b22\u8fce\u7684TOP 10\u4ea7\u54c1\uff08\u9500\u552e\u989d\u6216\u8005\u9500\u552e\u91cf\u6392\u540d\u524d10\u7684\u4ea7\u54c1\uff09\u3001\u6bcf\u4e2a\u4ea7\u54c1\u5927\u7c7b\u4e2d\u9500\u552e\u989d\u6392\u540d\u524d10\u7684\u5b50\u4ea7\u54c1\u3002\u4e0b\u9762\u5c31\u6765\u770b\u770b\u5177\u4f53\u5b9e\u4f8b\uff1a<\/p>\n\n\n\n<p class=\"wp-block-paragraph\" style=\"font-size:12px\">\u5047\u8bbe\u6211\u4eec\u5df2\u6709\u5982\u4e0b\u9500\u552e\u6c47\u603b\u8868sales\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.dataisfun.cn\/wp-content\/uploads\/2021\/10\/TOP-N_1.png\" alt=\"\" class=\"wp-image-629\" width=\"220\" height=\"214\" srcset=\"https:\/\/www.dataisfun.cn\/wp-content\/uploads\/2021\/10\/TOP-N_1.png 439w, https:\/\/www.dataisfun.cn\/wp-content\/uploads\/2021\/10\/TOP-N_1-300x292.png 300w, https:\/\/www.dataisfun.cn\/wp-content\/uploads\/2021\/10\/TOP-N_1-308x300.png 308w\" sizes=\"auto, (max-width: 220px) 100vw, 220px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\" style=\"font-size:12px\"><strong>\u793a\u4f8b\u4ee3\u78011\uff1a<\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"sql\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">--\u53d6\u6240\u6709\u4ea7\u54c1\u4e2d\u9500\u552e\u989d\u6392\u540d\u524d3\u7684\u4ea7\u54c1\nselect\n    category,\n    product,\n    amount\nfrom sales\norder by 3 desc\nlimit 3;<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\" style=\"font-size:12px\"><strong>\u4ee3\u7801\u7ed3\u679c1\uff1a<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.dataisfun.cn\/wp-content\/uploads\/2021\/10\/TOP-N_2.png\" alt=\"\" class=\"wp-image-630\" width=\"220\" height=\"90\" srcset=\"https:\/\/www.dataisfun.cn\/wp-content\/uploads\/2021\/10\/TOP-N_2.png 439w, https:\/\/www.dataisfun.cn\/wp-content\/uploads\/2021\/10\/TOP-N_2-300x123.png 300w\" sizes=\"auto, (max-width: 220px) 100vw, 220px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\" style=\"font-size:12px\"><strong>\u793a\u4f8b\u4ee3\u78012\uff1a<\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"sql\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">--\u53d6\u6bcf\u4e2a\u54c1\u7c7b\u4e0b\u9500\u552e\u989d\u6392\u540d\u524d3\u7684\u4ea7\u54c1\nwith\n    tmp as (\n        select\n            category,\n            product,\n            amount,\n            row_number() over (partition by category order by amount desc) as rank_no\n        from sales\n    )\nselect\n    category,\n    product,\n    amount,\n    rank_no\nfrom tmp\nwhere rank_no &lt;= 3\norder by 1,4;<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\" style=\"font-size:12px\"><strong>\u4ee3\u7801\u7ed3\u679c2\uff1a<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.dataisfun.cn\/wp-content\/uploads\/2021\/10\/TOP-N_3.png\" alt=\"\" class=\"wp-image-631\" width=\"288\" height=\"146\" srcset=\"https:\/\/www.dataisfun.cn\/wp-content\/uploads\/2021\/10\/TOP-N_3.png 575w, https:\/\/www.dataisfun.cn\/wp-content\/uploads\/2021\/10\/TOP-N_3-300x152.png 300w\" sizes=\"auto, (max-width: 288px) 100vw, 288px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\" style=\"font-size:12px\">\u4ee5\u4e0a\u5c31\u662f SQL TOP N \u95ee\u9898\u7684\u5b9e\u73b0\uff0c\u793a\u4f8b\u4ee3\u78011\u4f7f\u7528<strong>\u964d\u5e8f\u6392\u5e8f+limit<\/strong>\u5b9e\u73b0\uff0c\u793a\u4f8b\u4ee3\u78012\u4f7f\u7528<strong>\u7a97\u53e3\u51fd\u6570\u5206\u7ec4\u964d\u5e8f\u6392\u5e8f<\/strong>\u5b9e\u73b0\uff0c\u5f53\u5b58\u5728\u6570\u503c\u76f8\u540c\u7684\u60c5\u51b5\uff0c\u793a\u4f8b\u4ee3\u78012\u4e2d\u7684row_number()\u53ef\u4ee5\u66ff\u6362\u6210dense_rank()\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\" style=\"font-size:12px\">\u867d\u7136TOP N\u53ea\u662f\u63cf\u8ff0\u6027\u7edf\u8ba1\uff0c\u4f46\u5176\u5e94\u7528\u573a\u666f\u5e76\u4e0d\u5c11\uff0c\u8bf8\u5982\u4ea7\u54c1\u504f\u597d\u3001\u5ba2\u6237\u6765\u6e90\u3001\u6e20\u9053\u8d28\u91cf\u7b49\u5206\u6790\u53ef\u80fd\u90fd\u4f1a\u7528\u5230TOP N\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\" style=\"font-size:12px\"><br><span class=\"sme-text-color has-cyan-bluish-gray-color\">\u539f\u521b\u6587\u7ae0\uff0c\u6b22\u8fce\u8f6c\u8f7d\uff0c\u8f6c\u8f7d\u8bf7\u6ce8\u660e\u51fa\u5904\u5e76\u7559\u4e0b\u539f\u6587\u94fe\u63a5\u3002<\/span>  <\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u524d\u6587\u603b\u7ed3\u4e86SQL\u8fde\u7eed\u767b\u5f55\u95ee\u9898\uff0c\u672c\u6587\u7ee7\u7eed\u603b\u7ed3\u7ecf\u5178\u7684 SQL TOP N \u95ee\u9898\uff0cTOP N\u95ee\u9898\u867d\u7136\u6bd4\u8f83\u7b80&hellip; <a href=\"https:\/\/www.dataisfun.cn\/?p=566\" class=\"more-link read-more\" rel=\"bookmark\">\u7ee7\u7eed\u9605\u8bfb <span class=\"screen-reader-text\">SQL-\u7ecf\u5178\u7684TOP N\u95ee\u9898<\/span><i class=\"fa fa-arrow-right\"><\/i><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[6],"class_list":["post-566","post","type-post","status-publish","format-standard","hentry","category-sql","tag-sql","h-entry","h-as-article"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v19.11 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>SQL TOP N | SQL TOP N\u95ee\u9898 - \u6570\u636e\u597d\u73a9<\/title>\n<meta name=\"description\" content=\"\u524d\u6587\u603b\u7ed3\u4e86SQL\u8fde\u7eed\u767b\u5f55\u95ee\u9898\uff0c\u672c\u6587\u7ee7\u7eed\u603b\u7ed3\u7ecf\u5178\u7684 SQL TOP N \u95ee\u9898\uff0cTOP N\u95ee\u9898\u867d\u7136\u6bd4\u8f83\u7b80\u5355\uff0c\u4f46\u5176\u5e94\u7528\u573a\u666f\u5e76\u4e0d\u5c11\uff0c\u6bd4\u5982\u5217\u51fa\u6700\u53d7\u6b22\u8fce\u7684TOP 10\u4ea7\u54c1\uff08\u9500\u552e\u989d\u6216\u8005\u9500\u552e\u91cf\u6392\u540d\u524d10\u7684\u4ea7\u54c1\uff09\u3001\u6bcf\u4e2a\u4ea7\u54c1\u5927\u7c7b\u4e2d\u9500\u552e\u989d\u6392\u540d\u524d10\u7684\u5b50\u4ea7\u54c1\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.dataisfun.cn\/?p=566\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"SQL TOP N | SQL TOP N\u95ee\u9898 - \u6570\u636e\u597d\u73a9\" \/>\n<meta property=\"og:description\" content=\"\u524d\u6587\u603b\u7ed3\u4e86SQL\u8fde\u7eed\u767b\u5f55\u95ee\u9898\uff0c\u672c\u6587\u7ee7\u7eed\u603b\u7ed3\u7ecf\u5178\u7684 SQL TOP N \u95ee\u9898\uff0cTOP N\u95ee\u9898\u867d\u7136\u6bd4\u8f83\u7b80\u5355\uff0c\u4f46\u5176\u5e94\u7528\u573a\u666f\u5e76\u4e0d\u5c11\uff0c\u6bd4\u5982\u5217\u51fa\u6700\u53d7\u6b22\u8fce\u7684TOP 10\u4ea7\u54c1\uff08\u9500\u552e\u989d\u6216\u8005\u9500\u552e\u91cf\u6392\u540d\u524d10\u7684\u4ea7\u54c1\uff09\u3001\u6bcf\u4e2a\u4ea7\u54c1\u5927\u7c7b\u4e2d\u9500\u552e\u989d\u6392\u540d\u524d10\u7684\u5b50\u4ea7\u54c1\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.dataisfun.cn\/?p=566\" \/>\n<meta property=\"og:site_name\" content=\"\u6570\u636e\u597d\u73a9\" \/>\n<meta property=\"article:published_time\" content=\"2021-10-22T14:57:53+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-12-13T07:51:57+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/www.dataisfun.cn\/wp-content\/uploads\/2021\/10\/TOP-N_1.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.dataisfun.cn\/?p=566\",\"url\":\"https:\/\/www.dataisfun.cn\/?p=566\",\"name\":\"SQL TOP N | SQL TOP N\u95ee\u9898 - \u6570\u636e\u597d\u73a9\",\"isPartOf\":{\"@id\":\"https:\/\/www.dataisfun.cn\/#website\"},\"datePublished\":\"2021-10-22T14:57:53+00:00\",\"dateModified\":\"2021-12-13T07:51:57+00:00\",\"author\":{\"@id\":\"https:\/\/www.dataisfun.cn\/#\/schema\/person\/026bc03694bbf1608ccc639fb31c3293\"},\"description\":\"\u524d\u6587\u603b\u7ed3\u4e86SQL\u8fde\u7eed\u767b\u5f55\u95ee\u9898\uff0c\u672c\u6587\u7ee7\u7eed\u603b\u7ed3\u7ecf\u5178\u7684 SQL TOP N \u95ee\u9898\uff0cTOP N\u95ee\u9898\u867d\u7136\u6bd4\u8f83\u7b80\u5355\uff0c\u4f46\u5176\u5e94\u7528\u573a\u666f\u5e76\u4e0d\u5c11\uff0c\u6bd4\u5982\u5217\u51fa\u6700\u53d7\u6b22\u8fce\u7684TOP 10\u4ea7\u54c1\uff08\u9500\u552e\u989d\u6216\u8005\u9500\u552e\u91cf\u6392\u540d\u524d10\u7684\u4ea7\u54c1\uff09\u3001\u6bcf\u4e2a\u4ea7\u54c1\u5927\u7c7b\u4e2d\u9500\u552e\u989d\u6392\u540d\u524d10\u7684\u5b50\u4ea7\u54c1\u3002\",\"breadcrumb\":{\"@id\":\"https:\/\/www.dataisfun.cn\/?p=566#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.dataisfun.cn\/?p=566\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.dataisfun.cn\/?p=566#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.dataisfun.cn\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"SQL-\u7ecf\u5178\u7684TOP N\u95ee\u9898\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.dataisfun.cn\/#website\",\"url\":\"https:\/\/www.dataisfun.cn\/\",\"name\":\"\u6570\u636e\u597d\u73a9\",\"description\":\"\u6570\u4e2d\u81ea\u6709\u4e7e\u5764\uff0c\u4e8e\u4e50\u8da3\u4e2d\u53d1\u73b0\u4ef7\u503c\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.dataisfun.cn\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.dataisfun.cn\/#\/schema\/person\/026bc03694bbf1608ccc639fb31c3293\",\"name\":\"admin\",\"sameAs\":[\"http:\/\/www.dataisfun.cn\"],\"url\":\"https:\/\/www.dataisfun.cn\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"SQL TOP N | SQL TOP N\u95ee\u9898 - \u6570\u636e\u597d\u73a9","description":"\u524d\u6587\u603b\u7ed3\u4e86SQL\u8fde\u7eed\u767b\u5f55\u95ee\u9898\uff0c\u672c\u6587\u7ee7\u7eed\u603b\u7ed3\u7ecf\u5178\u7684 SQL TOP N \u95ee\u9898\uff0cTOP N\u95ee\u9898\u867d\u7136\u6bd4\u8f83\u7b80\u5355\uff0c\u4f46\u5176\u5e94\u7528\u573a\u666f\u5e76\u4e0d\u5c11\uff0c\u6bd4\u5982\u5217\u51fa\u6700\u53d7\u6b22\u8fce\u7684TOP 10\u4ea7\u54c1\uff08\u9500\u552e\u989d\u6216\u8005\u9500\u552e\u91cf\u6392\u540d\u524d10\u7684\u4ea7\u54c1\uff09\u3001\u6bcf\u4e2a\u4ea7\u54c1\u5927\u7c7b\u4e2d\u9500\u552e\u989d\u6392\u540d\u524d10\u7684\u5b50\u4ea7\u54c1\u3002","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.dataisfun.cn\/?p=566","og_locale":"zh_CN","og_type":"article","og_title":"SQL TOP N | SQL TOP N\u95ee\u9898 - \u6570\u636e\u597d\u73a9","og_description":"\u524d\u6587\u603b\u7ed3\u4e86SQL\u8fde\u7eed\u767b\u5f55\u95ee\u9898\uff0c\u672c\u6587\u7ee7\u7eed\u603b\u7ed3\u7ecf\u5178\u7684 SQL TOP N \u95ee\u9898\uff0cTOP N\u95ee\u9898\u867d\u7136\u6bd4\u8f83\u7b80\u5355\uff0c\u4f46\u5176\u5e94\u7528\u573a\u666f\u5e76\u4e0d\u5c11\uff0c\u6bd4\u5982\u5217\u51fa\u6700\u53d7\u6b22\u8fce\u7684TOP 10\u4ea7\u54c1\uff08\u9500\u552e\u989d\u6216\u8005\u9500\u552e\u91cf\u6392\u540d\u524d10\u7684\u4ea7\u54c1\uff09\u3001\u6bcf\u4e2a\u4ea7\u54c1\u5927\u7c7b\u4e2d\u9500\u552e\u989d\u6392\u540d\u524d10\u7684\u5b50\u4ea7\u54c1\u3002","og_url":"https:\/\/www.dataisfun.cn\/?p=566","og_site_name":"\u6570\u636e\u597d\u73a9","article_published_time":"2021-10-22T14:57:53+00:00","article_modified_time":"2021-12-13T07:51:57+00:00","og_image":[{"url":"http:\/\/www.dataisfun.cn\/wp-content\/uploads\/2021\/10\/TOP-N_1.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.dataisfun.cn\/?p=566","url":"https:\/\/www.dataisfun.cn\/?p=566","name":"SQL TOP N | SQL TOP N\u95ee\u9898 - \u6570\u636e\u597d\u73a9","isPartOf":{"@id":"https:\/\/www.dataisfun.cn\/#website"},"datePublished":"2021-10-22T14:57:53+00:00","dateModified":"2021-12-13T07:51:57+00:00","author":{"@id":"https:\/\/www.dataisfun.cn\/#\/schema\/person\/026bc03694bbf1608ccc639fb31c3293"},"description":"\u524d\u6587\u603b\u7ed3\u4e86SQL\u8fde\u7eed\u767b\u5f55\u95ee\u9898\uff0c\u672c\u6587\u7ee7\u7eed\u603b\u7ed3\u7ecf\u5178\u7684 SQL TOP N \u95ee\u9898\uff0cTOP N\u95ee\u9898\u867d\u7136\u6bd4\u8f83\u7b80\u5355\uff0c\u4f46\u5176\u5e94\u7528\u573a\u666f\u5e76\u4e0d\u5c11\uff0c\u6bd4\u5982\u5217\u51fa\u6700\u53d7\u6b22\u8fce\u7684TOP 10\u4ea7\u54c1\uff08\u9500\u552e\u989d\u6216\u8005\u9500\u552e\u91cf\u6392\u540d\u524d10\u7684\u4ea7\u54c1\uff09\u3001\u6bcf\u4e2a\u4ea7\u54c1\u5927\u7c7b\u4e2d\u9500\u552e\u989d\u6392\u540d\u524d10\u7684\u5b50\u4ea7\u54c1\u3002","breadcrumb":{"@id":"https:\/\/www.dataisfun.cn\/?p=566#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.dataisfun.cn\/?p=566"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.dataisfun.cn\/?p=566#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.dataisfun.cn\/"},{"@type":"ListItem","position":2,"name":"SQL-\u7ecf\u5178\u7684TOP N\u95ee\u9898"}]},{"@type":"WebSite","@id":"https:\/\/www.dataisfun.cn\/#website","url":"https:\/\/www.dataisfun.cn\/","name":"\u6570\u636e\u597d\u73a9","description":"\u6570\u4e2d\u81ea\u6709\u4e7e\u5764\uff0c\u4e8e\u4e50\u8da3\u4e2d\u53d1\u73b0\u4ef7\u503c","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.dataisfun.cn\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.dataisfun.cn\/#\/schema\/person\/026bc03694bbf1608ccc639fb31c3293","name":"admin","sameAs":["http:\/\/www.dataisfun.cn"],"url":"https:\/\/www.dataisfun.cn\/?author=1"}]}},"_links":{"self":[{"href":"https:\/\/www.dataisfun.cn\/index.php?rest_route=\/wp\/v2\/posts\/566","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dataisfun.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dataisfun.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dataisfun.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dataisfun.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=566"}],"version-history":[{"count":14,"href":"https:\/\/www.dataisfun.cn\/index.php?rest_route=\/wp\/v2\/posts\/566\/revisions"}],"predecessor-version":[{"id":780,"href":"https:\/\/www.dataisfun.cn\/index.php?rest_route=\/wp\/v2\/posts\/566\/revisions\/780"}],"wp:attachment":[{"href":"https:\/\/www.dataisfun.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=566"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dataisfun.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=566"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dataisfun.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=566"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}