{"id":694,"date":"2021-10-30T20:12:46","date_gmt":"2021-10-30T12:12:46","guid":{"rendered":"https:\/\/www.dataisfun.cn\/?p=694"},"modified":"2021-12-13T15:53:30","modified_gmt":"2021-12-13T07:53:30","slug":"sql%e6%af%94%e8%be%83%e4%b8%a4%e4%b8%aa%e5%ad%97%e7%ac%a6%e4%b8%b2%e7%9b%b8%e5%90%8c%e7%9a%84%e4%bd%8d%e6%95%b0","status":"publish","type":"post","link":"https:\/\/www.dataisfun.cn\/?p=694","title":{"rendered":"SQL-\u6bd4\u8f83\u4e24\u4e2a\u5b57\u7b26\u4e32\u76f8\u540c\u7684\u4f4d\u6570"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\" style=\"font-size:12px\">\u6700\u8fd1\u9047\u5230\u4e86\u4e00\u4e2a\u53d6\u6570\u573a\u666f&#8211;\u6bd4\u8f83\u4e24\u4e2a\u5b57\u7b26\u4e32\u6709\u591a\u5c11\u4f4d\u76f8\u540c\uff0c\u4e4b\u6240\u4ee5\u6709\u8fd9\u4e2a\u9700\u6c42\uff0c\u662f\u56e0\u4e3a\u4e00\u4e2a\u662fOCR\u8bc6\u522b\u7684\uff0c\u4e00\u4e2a\u662f\u7528\u6237\u8f93\u5165\u7684\uff0c\u9700\u8981\u6bd4\u5bf9\u5206\u6790\u4e0b\u4ece\u800c\u505a\u51fa\u6539\u8fdb\u3002\u4e0b\u9762\u5c31\u603b\u7ed3\u4e0b SQL\u6bd4\u8f83\u4e24\u4e2a\u5b57\u7b26\u4e32\u76f8\u540c\u7684\u4f4d\u6570 \u5177\u4f53\u5982\u4f55\u5b9e\u73b0\uff1a<\/p>\n\n\n\n<p class=\"wp-block-paragraph\" style=\"font-size:12px\">\u5047\u8bbe\u6211\u4eec\u5df2\u6709\u5982\u4e0b\u6e90\u8868 <strong>table1<\/strong>\uff0c\u6211\u4eec\u8981\u5f97\u5230\u5b57\u6bb5 <strong>info_ocr <\/strong>\u548c\u5b57\u6bb5 <strong>info_input<\/strong> \u76f8\u540c\u7684\u4f4d\u6570\u548c\u4e0d\u540c\u7684\u4f4d\u6570\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\/\u4e24\u4e2a\u5b57\u7b26\u4e32\u4e0d\u76f8\u540c\u7684\u4f4d\u65701.png\" alt=\"\" class=\"wp-image-699\" width=\"316\" height=\"83\" srcset=\"https:\/\/www.dataisfun.cn\/wp-content\/uploads\/2021\/10\/\u4e24\u4e2a\u5b57\u7b26\u4e32\u4e0d\u76f8\u540c\u7684\u4f4d\u65701.png 631w, https:\/\/www.dataisfun.cn\/wp-content\/uploads\/2021\/10\/\u4e24\u4e2a\u5b57\u7b26\u4e32\u4e0d\u76f8\u540c\u7684\u4f4d\u65701-300x79.png 300w\" sizes=\"auto, (max-width: 316px) 100vw, 316px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\" style=\"font-size:12px\"><strong>\u793a\u4f8b\u4ee3\u7801\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=\"\">--\u65b9\u6cd51\uff1a\u622a\u53d6\u5b57\u7b26\u5e76\u9010\u4e00\u6bd4\u8f83\nselect\n    id,\n    info_ocr,\n    info_input,\n    \n    case when substr(info_ocr, 1, 1) = substr(info_input, 1, 1) then 1 else 0 end\n        + case when substr(info_ocr, 2, 1) = substr(info_input, 2, 1) then 1 else 0 end\n        + case when substr(info_ocr, 3, 1) = substr(info_input, 3, 1) then 1 else 0 end\n        + case when substr(info_ocr, 4, 1) = substr(info_input, 4, 1) then 1 else 0 end\n        + case when substr(info_ocr, 5, 1) = substr(info_input, 5, 1) then 1 else 0 end\n        + case when substr(info_ocr, 6, 1) = substr(info_input, 6, 1) then 1 else 0 end\n        + case when substr(info_ocr, 7, 1) = substr(info_input, 7, 1) then 1 else 0 end\n        + case when substr(info_ocr, 8, 1) = substr(info_input, 8, 1) then 1 else 0 end\n        + case when substr(info_ocr, 9, 1) = substr(info_input, 9, 1) then 1 else 0 end\n        + case when substr(info_ocr, 10, 1) = substr(info_input, 10, 1) then 1 else 0 end as same_chr_cnt,\n    \n    case when substr(info_ocr, 1, 1) &lt;> substr(info_input, 1, 1) then 1 else 0 end\n        + case when substr(info_ocr, 2, 1) &lt;> substr(info_input, 2, 1) then 1 else 0 end\n        + case when substr(info_ocr, 3, 1) &lt;> substr(info_input, 3, 1) then 1 else 0 end\n        + case when substr(info_ocr, 4, 1) &lt;> substr(info_input, 4, 1) then 1 else 0 end\n        + case when substr(info_ocr, 5, 1) &lt;> substr(info_input, 5, 1) then 1 else 0 end\n        + case when substr(info_ocr, 6, 1) &lt;> substr(info_input, 6, 1) then 1 else 0 end\n        + case when substr(info_ocr, 7, 1) &lt;> substr(info_input, 7, 1) then 1 else 0 end\n        + case when substr(info_ocr, 8, 1) &lt;> substr(info_input, 8, 1) then 1 else 0 end\n        + case when substr(info_ocr, 9, 1) &lt;> substr(info_input, 9, 1) then 1 else 0 end\n        + case when substr(info_ocr, 10, 1) &lt;> substr(info_input, 10, 1) then 1 else 0 end as not_same_chr_cnt\n\nfrom table1;\n\n\n\n--\u65b9\u6cd52\uff1a\u5c06\u5355\u884c\u5b57\u7b26\u4e32\u62c6\u6210\u591a\u884c\u5b57\u7b26\u540e\u5224\u65ad\u5e76\u6c47\u603b\nwith\n    tmp1 as (\n        select\n            id,\n            info_ocr,\n            info_input,\n            info_ocr_chr,\n            row_number() over () as row_num\n        from table1\n        cross join unnest(split(info_ocr,'')) as t (info_ocr_chr)\n    ),\n    \n    tmp2 as (\n        select\n            id,\n            info_ocr,\n            info_input,\n            info_input_chr,\n            row_number() over () as row_num\n        from table1\n        cross join unnest(split(info_input,'')) as t (info_input_chr)\n    ),\n    \n    tmp3 as (\n        select\n            tmp1.id,\n            tmp1.info_ocr,\n            tmp1.info_input,\n            tmp1.info_ocr_chr,\n            tmp2.info_input_chr,\n            case when tmp1.info_ocr_chr = tmp2.info_input_chr then 1 else 0 end as is_chr_same\n        from tmp1\n        left join tmp2\n        on tmp1.id = tmp2.id and tmp1.row_num = tmp2.row_num\n    )\nselect\n    id,\n    info_ocr,\n    info_input,\n    sum(is_chr_same) as same_chr_cnt,\n    10 - sum(is_chr_same) as not_same_chr_cnt\nfrom tmp3\nwhere info_ocr_chr &lt;> ''\ngroup by 1,2,3;<\/pre>\n\n\n\n<p class=\"is-style-default wp-block-paragraph\" style=\"font-size:12px\"><strong>\u4ee3\u7801\u7ed3\u679c\uff1a<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.dataisfun.cn\/wp-content\/uploads\/2021\/10\/\u4e24\u4e2a\u5b57\u7b26\u4e32\u4e0d\u76f8\u540c\u7684\u4f4d\u65702-1024x137.png\" alt=\"\" class=\"wp-image-700\" width=\"512\" height=\"69\" srcset=\"https:\/\/www.dataisfun.cn\/wp-content\/uploads\/2021\/10\/\u4e24\u4e2a\u5b57\u7b26\u4e32\u4e0d\u76f8\u540c\u7684\u4f4d\u65702-1024x137.png 1024w, https:\/\/www.dataisfun.cn\/wp-content\/uploads\/2021\/10\/\u4e24\u4e2a\u5b57\u7b26\u4e32\u4e0d\u76f8\u540c\u7684\u4f4d\u65702-300x40.png 300w, https:\/\/www.dataisfun.cn\/wp-content\/uploads\/2021\/10\/\u4e24\u4e2a\u5b57\u7b26\u4e32\u4e0d\u76f8\u540c\u7684\u4f4d\u65702-768x103.png 768w, https:\/\/www.dataisfun.cn\/wp-content\/uploads\/2021\/10\/\u4e24\u4e2a\u5b57\u7b26\u4e32\u4e0d\u76f8\u540c\u7684\u4f4d\u65702-850x114.png 850w, https:\/\/www.dataisfun.cn\/wp-content\/uploads\/2021\/10\/\u4e24\u4e2a\u5b57\u7b26\u4e32\u4e0d\u76f8\u540c\u7684\u4f4d\u65702.png 1069w\" sizes=\"auto, (max-width: 512px) 100vw, 512px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\" style=\"font-size:12px\">\u4ee5\u4e0a\u5c31\u662f SQL\u6bd4\u8f83\u4e24\u4e2a\u5b57\u7b26\u4e32\u76f8\u540c\u7684\u4f4d\u6570\u6216\u4e0d\u540c\u7684\u4f4d\u6570 \u7684\u4ee3\u7801\u5b9e\u73b0\uff0c\u65b9\u6cd51\u66f4\u76f4\u89c2\u901a\u7528\uff0c\u65b9\u6cd52\u4e5f\u662f\u4e00\u79cd\u601d\u8def\uff0c\u4ee3\u7801\u4f7f\u7528Presto SQL\u6267\u884c\uff0c\u5176\u4ed6SQL\u8bed\u8a00\u53ef\u80fd\u4f1a\u7565\u6709\u5dee\u5f02\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>\u6700\u8fd1\u9047\u5230\u4e86\u4e00\u4e2a\u53d6\u6570\u573a\u666f&#8211;\u6bd4\u8f83\u4e24\u4e2a\u5b57\u7b26\u4e32\u6709\u591a\u5c11\u4f4d\u76f8\u540c\uff0c\u4e4b\u6240\u4ee5\u6709\u8fd9\u4e2a\u9700\u6c42\uff0c\u662f\u56e0\u4e3a\u4e00\u4e2a\u662fOCR&hellip; <a href=\"https:\/\/www.dataisfun.cn\/?p=694\" class=\"more-link read-more\" rel=\"bookmark\">\u7ee7\u7eed\u9605\u8bfb <span class=\"screen-reader-text\">SQL-\u6bd4\u8f83\u4e24\u4e2a\u5b57\u7b26\u4e32\u76f8\u540c\u7684\u4f4d\u6570<\/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-694","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\u6bd4\u8f83\u4e24\u4e2a\u5b57\u7b26\u4e32\u76f8\u540c\u7684\u4f4d\u6570 - \u6570\u636e\u597d\u73a9<\/title>\n<meta name=\"description\" content=\"\u6700\u8fd1\u9047\u5230\u4e86\u4e00\u4e2a\u53d6\u6570\u573a\u666f--\u6bd4\u8f83\u4e24\u4e2a\u5b57\u7b26\u4e32\u6709\u591a\u5c11\u4f4d\u76f8\u540c\uff0c\u4e4b\u6240\u4ee5\u6709\u8fd9\u4e2a\u9700\u6c42\uff0c\u662f\u56e0\u4e3a\u4e00\u4e2a\u662fOCR\u8bc6\u522b\u7684\uff0c\u4e00\u4e2a\u662f\u7528\u6237\u8f93\u5165\u7684\uff0c\u9700\u8981\u6bd4\u5bf9\u5206\u6790\u4e0b\u4ece\u800c\u505a\u51fa\u6539\u8fdb\u3002\u4e0b\u9762\u5c31\u603b\u7ed3\u4e0b SQL\u6bd4\u8f83\u4e24\u4e2a\u5b57\u7b26\u4e32\u76f8\u540c\u7684\u4f4d\u6570 \u5177\u4f53\u5982\u4f55\u5b9e\u73b0\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=694\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"SQL\u6bd4\u8f83\u4e24\u4e2a\u5b57\u7b26\u4e32\u76f8\u540c\u7684\u4f4d\u6570 - \u6570\u636e\u597d\u73a9\" \/>\n<meta property=\"og:description\" content=\"\u6700\u8fd1\u9047\u5230\u4e86\u4e00\u4e2a\u53d6\u6570\u573a\u666f--\u6bd4\u8f83\u4e24\u4e2a\u5b57\u7b26\u4e32\u6709\u591a\u5c11\u4f4d\u76f8\u540c\uff0c\u4e4b\u6240\u4ee5\u6709\u8fd9\u4e2a\u9700\u6c42\uff0c\u662f\u56e0\u4e3a\u4e00\u4e2a\u662fOCR\u8bc6\u522b\u7684\uff0c\u4e00\u4e2a\u662f\u7528\u6237\u8f93\u5165\u7684\uff0c\u9700\u8981\u6bd4\u5bf9\u5206\u6790\u4e0b\u4ece\u800c\u505a\u51fa\u6539\u8fdb\u3002\u4e0b\u9762\u5c31\u603b\u7ed3\u4e0b SQL\u6bd4\u8f83\u4e24\u4e2a\u5b57\u7b26\u4e32\u76f8\u540c\u7684\u4f4d\u6570 \u5177\u4f53\u5982\u4f55\u5b9e\u73b0\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.dataisfun.cn\/?p=694\" \/>\n<meta property=\"og:site_name\" content=\"\u6570\u636e\u597d\u73a9\" \/>\n<meta property=\"article:published_time\" content=\"2021-10-30T12:12:46+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-12-13T07:53:30+00:00\" \/>\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=\"3 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.dataisfun.cn\/?p=694\",\"url\":\"https:\/\/www.dataisfun.cn\/?p=694\",\"name\":\"SQL\u6bd4\u8f83\u4e24\u4e2a\u5b57\u7b26\u4e32\u76f8\u540c\u7684\u4f4d\u6570 - \u6570\u636e\u597d\u73a9\",\"isPartOf\":{\"@id\":\"https:\/\/www.dataisfun.cn\/#website\"},\"datePublished\":\"2021-10-30T12:12:46+00:00\",\"dateModified\":\"2021-12-13T07:53:30+00:00\",\"author\":{\"@id\":\"https:\/\/www.dataisfun.cn\/#\/schema\/person\/026bc03694bbf1608ccc639fb31c3293\"},\"description\":\"\u6700\u8fd1\u9047\u5230\u4e86\u4e00\u4e2a\u53d6\u6570\u573a\u666f--\u6bd4\u8f83\u4e24\u4e2a\u5b57\u7b26\u4e32\u6709\u591a\u5c11\u4f4d\u76f8\u540c\uff0c\u4e4b\u6240\u4ee5\u6709\u8fd9\u4e2a\u9700\u6c42\uff0c\u662f\u56e0\u4e3a\u4e00\u4e2a\u662fOCR\u8bc6\u522b\u7684\uff0c\u4e00\u4e2a\u662f\u7528\u6237\u8f93\u5165\u7684\uff0c\u9700\u8981\u6bd4\u5bf9\u5206\u6790\u4e0b\u4ece\u800c\u505a\u51fa\u6539\u8fdb\u3002\u4e0b\u9762\u5c31\u603b\u7ed3\u4e0b SQL\u6bd4\u8f83\u4e24\u4e2a\u5b57\u7b26\u4e32\u76f8\u540c\u7684\u4f4d\u6570 \u5177\u4f53\u5982\u4f55\u5b9e\u73b0\u3002\",\"breadcrumb\":{\"@id\":\"https:\/\/www.dataisfun.cn\/?p=694#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.dataisfun.cn\/?p=694\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.dataisfun.cn\/?p=694#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.dataisfun.cn\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"SQL-\u6bd4\u8f83\u4e24\u4e2a\u5b57\u7b26\u4e32\u76f8\u540c\u7684\u4f4d\u6570\"}]},{\"@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\u6bd4\u8f83\u4e24\u4e2a\u5b57\u7b26\u4e32\u76f8\u540c\u7684\u4f4d\u6570 - \u6570\u636e\u597d\u73a9","description":"\u6700\u8fd1\u9047\u5230\u4e86\u4e00\u4e2a\u53d6\u6570\u573a\u666f--\u6bd4\u8f83\u4e24\u4e2a\u5b57\u7b26\u4e32\u6709\u591a\u5c11\u4f4d\u76f8\u540c\uff0c\u4e4b\u6240\u4ee5\u6709\u8fd9\u4e2a\u9700\u6c42\uff0c\u662f\u56e0\u4e3a\u4e00\u4e2a\u662fOCR\u8bc6\u522b\u7684\uff0c\u4e00\u4e2a\u662f\u7528\u6237\u8f93\u5165\u7684\uff0c\u9700\u8981\u6bd4\u5bf9\u5206\u6790\u4e0b\u4ece\u800c\u505a\u51fa\u6539\u8fdb\u3002\u4e0b\u9762\u5c31\u603b\u7ed3\u4e0b SQL\u6bd4\u8f83\u4e24\u4e2a\u5b57\u7b26\u4e32\u76f8\u540c\u7684\u4f4d\u6570 \u5177\u4f53\u5982\u4f55\u5b9e\u73b0\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=694","og_locale":"zh_CN","og_type":"article","og_title":"SQL\u6bd4\u8f83\u4e24\u4e2a\u5b57\u7b26\u4e32\u76f8\u540c\u7684\u4f4d\u6570 - \u6570\u636e\u597d\u73a9","og_description":"\u6700\u8fd1\u9047\u5230\u4e86\u4e00\u4e2a\u53d6\u6570\u573a\u666f--\u6bd4\u8f83\u4e24\u4e2a\u5b57\u7b26\u4e32\u6709\u591a\u5c11\u4f4d\u76f8\u540c\uff0c\u4e4b\u6240\u4ee5\u6709\u8fd9\u4e2a\u9700\u6c42\uff0c\u662f\u56e0\u4e3a\u4e00\u4e2a\u662fOCR\u8bc6\u522b\u7684\uff0c\u4e00\u4e2a\u662f\u7528\u6237\u8f93\u5165\u7684\uff0c\u9700\u8981\u6bd4\u5bf9\u5206\u6790\u4e0b\u4ece\u800c\u505a\u51fa\u6539\u8fdb\u3002\u4e0b\u9762\u5c31\u603b\u7ed3\u4e0b SQL\u6bd4\u8f83\u4e24\u4e2a\u5b57\u7b26\u4e32\u76f8\u540c\u7684\u4f4d\u6570 \u5177\u4f53\u5982\u4f55\u5b9e\u73b0\u3002","og_url":"https:\/\/www.dataisfun.cn\/?p=694","og_site_name":"\u6570\u636e\u597d\u73a9","article_published_time":"2021-10-30T12:12:46+00:00","article_modified_time":"2021-12-13T07:53:30+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"3 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.dataisfun.cn\/?p=694","url":"https:\/\/www.dataisfun.cn\/?p=694","name":"SQL\u6bd4\u8f83\u4e24\u4e2a\u5b57\u7b26\u4e32\u76f8\u540c\u7684\u4f4d\u6570 - \u6570\u636e\u597d\u73a9","isPartOf":{"@id":"https:\/\/www.dataisfun.cn\/#website"},"datePublished":"2021-10-30T12:12:46+00:00","dateModified":"2021-12-13T07:53:30+00:00","author":{"@id":"https:\/\/www.dataisfun.cn\/#\/schema\/person\/026bc03694bbf1608ccc639fb31c3293"},"description":"\u6700\u8fd1\u9047\u5230\u4e86\u4e00\u4e2a\u53d6\u6570\u573a\u666f--\u6bd4\u8f83\u4e24\u4e2a\u5b57\u7b26\u4e32\u6709\u591a\u5c11\u4f4d\u76f8\u540c\uff0c\u4e4b\u6240\u4ee5\u6709\u8fd9\u4e2a\u9700\u6c42\uff0c\u662f\u56e0\u4e3a\u4e00\u4e2a\u662fOCR\u8bc6\u522b\u7684\uff0c\u4e00\u4e2a\u662f\u7528\u6237\u8f93\u5165\u7684\uff0c\u9700\u8981\u6bd4\u5bf9\u5206\u6790\u4e0b\u4ece\u800c\u505a\u51fa\u6539\u8fdb\u3002\u4e0b\u9762\u5c31\u603b\u7ed3\u4e0b SQL\u6bd4\u8f83\u4e24\u4e2a\u5b57\u7b26\u4e32\u76f8\u540c\u7684\u4f4d\u6570 \u5177\u4f53\u5982\u4f55\u5b9e\u73b0\u3002","breadcrumb":{"@id":"https:\/\/www.dataisfun.cn\/?p=694#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.dataisfun.cn\/?p=694"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.dataisfun.cn\/?p=694#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.dataisfun.cn\/"},{"@type":"ListItem","position":2,"name":"SQL-\u6bd4\u8f83\u4e24\u4e2a\u5b57\u7b26\u4e32\u76f8\u540c\u7684\u4f4d\u6570"}]},{"@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\/694","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=694"}],"version-history":[{"count":10,"href":"https:\/\/www.dataisfun.cn\/index.php?rest_route=\/wp\/v2\/posts\/694\/revisions"}],"predecessor-version":[{"id":781,"href":"https:\/\/www.dataisfun.cn\/index.php?rest_route=\/wp\/v2\/posts\/694\/revisions\/781"}],"wp:attachment":[{"href":"https:\/\/www.dataisfun.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=694"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dataisfun.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=694"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dataisfun.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=694"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}