{"id":595,"date":"2019-03-19T09:35:57","date_gmt":"2019-03-19T01:35:57","guid":{"rendered":"http:\/\/wordpress.cine.idv.tw\/?p=595"},"modified":"2019-03-19T09:40:58","modified_gmt":"2019-03-19T01:40:58","slug":"mysql-generate-table-contains-all-minutes-of-specific-date-dynamicall","status":"publish","type":"post","link":"https:\/\/wordpress.cine.idv.tw\/index.php\/2019\/03\/19\/mysql-generate-table-contains-all-minutes-of-specific-date-dynamicall\/","title":{"rendered":"MySQL \u52d5\u614b\u7522\u751f\u5305\u542b\u7279\u5b9a\u65e5\u671f\u6240\u6709\u5206\u9418\u7684\u8cc7\u6599\u8868"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">\u61c9\u7528\u7a0b\u5f0f\u5e38\u5e38\u6703\u6709\u6392\u7a0b\u7684\u9700\u6c42, \u5728\u8cc7\u6599\u5eab\u7684\u61c9\u7528\u4e2d, \u6392\u7a0b\u6240\u9700\u8981\u7684\u6642\u9593\u8868\u53ef\u4ee5\u7528\u4e0b\u5217\u9019\u5e7e\u7a2e\u65b9\u5f0f\u4f86\u7522\u751f:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>\u4e8b\u5148\u7522\u751f\u597d\u61c9\u7528\u7a0b\u5f0f\u6240\u9700\u8981\u7684\u6642\u9593\u8868\u65bc\u5be6\u9ad4\u8cc7\u6599\u8868<\/li><li>\u5229\u7528\u67e5\u8868\u6cd5\u52d5\u614b\u7522\u751f\u865b\u64ec\u8cc7\u6599\u8868<\/li><li>\u5229\u7528\u6f14\u7b97\u6cd5\u7522\u751f\u865b\u64ec\u8cc7\u6599\u8868<\/li><li><\/li><\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">shortie \u5c07\u65bc\u672c\u6587\u4e2d, \u793a\u7bc4\u7b2c\u4e09\u7a2e\u65b9\u6cd5\u5728 MySQL \u7684\u4e00\u7a2e\u61c9\u7528\u65b9\u5f0f. \u4e0b\u9762\u9019\u6bb5 SQL \u5c07\u6703\u7522\u751f\u67d0\u7279\u5b9a\u65e5\u671f\u4e2d\u7684 1440 (24 * 60) \u5206\u9418\u8cc7\u6599\u8868, \u7528\u4ee5\u8ddf\u5176\u4ed6\u8cc7\u6599\u8868 JOIN, \u9054\u6210\u61c9\u7528\u7a0b\u5f0f\u4e4b\u6240\u9700.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">SELECT ADDDATE(d.the_date, INTERVAL t.the_time MINUTE) AS the_date_time<br>   FROM (SELECT '2019-03-18' the_date) AS d,<br>        (SELECT the_hour * 60 + the_minute AS the_time<br>           FROM (SELECT 0 AS the_hour<br>                  UNION<br>                 SELECT 1<br>                  UNION<br>                 SELECT 2<br>                  UNION<br>                 SELECT 3<br>                  UNION<br>                 SELECT 4<br>                  UNION<br>                 SELECT 5<br>                  UNION<br>                 SELECT 6<br>                  UNION<br>                 SELECT 7<br>                  UNION<br>                 SELECT 8<br>                  UNION<br>                 SELECT 9<br>                  UNION<br>                 SELECT 10<br>                  UNION<br>                 SELECT 11<br>                  UNION<br>                 SELECT 12<br>                  UNION<br>                 SELECT 13<br>                  UNION<br>                 SELECT 14<br>                  UNION<br>                 SELECT 15<br>                  UNION<br>                 SELECT 16<br>                  UNION<br>                 SELECT 17<br>                  UNION<br>                 SELECT 18<br>                  UNION<br>                 SELECT 19<br>                  UNION<br>                 SELECT 20<br>                  UNION<br>                 SELECT 21<br>                  UNION<br>                 SELECT 22<br>                  UNION<br>                 SELECT 23) AS the_hours,<br>                (SELECT the_ten * 10 + the_one AS the_minute<br>                   FROM (SELECT 0 AS the_ten<br>                          UNION<br>                         SELECT 1<br>                          UNION<br>                         SELECT 2<br>                          UNION<br>                         SELECT 3<br>                          UNION<br>                         SELECT 4<br>                          UNION<br>                         SELECT 5) AS tens,<br>                        (SELECT 0 AS the_one<br>                          UNION<br>                         SELECT 1<br>                          UNION<br>                         SELECT 2<br>                          UNION<br>                         SELECT 3<br>                          UNION<br>                         SELECT 4<br>                          UNION<br>                         SELECT 5<br>                          UNION<br>                         SELECT 6<br>                          UNION<br>                         SELECT 7<br>                          UNION<br>                         SELECT 8<br>                          UNION<br>                         SELECT 9) AS ones) AS the_minutes<br>          ORDER BY the_time) AS t<br>  ORDER BY the_date_time;<\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">\u53c3\u8003\u8cc7\u6599<\/h4>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"https:\/\/dev.mysql.com\/doc\/refman\/8.0\/en\/date-and-time-functions.html#function_adddate\">ADDDATE(date,INTERVAL expr unit), ADDDATE(expr,days)<\/a><\/li><\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u61c9\u7528\u7a0b\u5f0f\u5e38\u5e38\u6703\u6709\u6392\u7a0b\u7684\u9700\u6c42, \u5728\u8cc7\u6599\u5eab\u7684\u61c9\u7528\u4e2d, \u6392\u7a0b\u6240\u9700\u8981\u7684\u6642\u9593\u8868\u53ef\u4ee5\u7528\u4e0b\u5217\u9019\u5e7e\u7a2e\u65b9\u5f0f\u4f86\u7522\u751f: \u4e8b\u5148\u7522\u751f\u597d\u61c9\u7528\u7a0b\u5f0f\u6240\u9700\u8981\u7684\u6642\u9593\u8868\u65bc\u5be6\u9ad4\u8cc7\u6599\u8868 \u5229\u7528\u67e5\u8868\u6cd5\u52d5\u614b\u7522\u751f\u865b\u64ec\u8cc7\u6599\u8868 \u5229\u7528\u6f14\u7b97\u6cd5\u7522\u751f\u865b\u64ec\u8cc7\u6599\u8868 shortie \u5c07\u65bc [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[13],"tags":[25,54],"class_list":["post-595","post","type-post","status-publish","format-standard","hentry","category-it","tag-mysql","tag-sql"],"featured_image_src":null,"author_info":{"display_name":"shortie","author_link":"https:\/\/wordpress.cine.idv.tw\/index.php\/author\/shortie\/"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>MySQL \u52d5\u614b\u7522\u751f\u5305\u542b\u7279\u5b9a\u65e5\u671f\u6240\u6709\u5206\u9418\u7684\u8cc7\u6599\u8868 - \u56db\u7dad\u4e8c\u6728\u4e4b\u5bb6<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/wordpress.cine.idv.tw\/index.php\/2019\/03\/19\/mysql-generate-table-contains-all-minutes-of-specific-date-dynamicall\/\" \/>\n<meta property=\"og:locale\" content=\"zh_TW\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"MySQL \u52d5\u614b\u7522\u751f\u5305\u542b\u7279\u5b9a\u65e5\u671f\u6240\u6709\u5206\u9418\u7684\u8cc7\u6599\u8868 - \u56db\u7dad\u4e8c\u6728\u4e4b\u5bb6\" \/>\n<meta property=\"og:description\" content=\"\u61c9\u7528\u7a0b\u5f0f\u5e38\u5e38\u6703\u6709\u6392\u7a0b\u7684\u9700\u6c42, \u5728\u8cc7\u6599\u5eab\u7684\u61c9\u7528\u4e2d, \u6392\u7a0b\u6240\u9700\u8981\u7684\u6642\u9593\u8868\u53ef\u4ee5\u7528\u4e0b\u5217\u9019\u5e7e\u7a2e\u65b9\u5f0f\u4f86\u7522\u751f: \u4e8b\u5148\u7522\u751f\u597d\u61c9\u7528\u7a0b\u5f0f\u6240\u9700\u8981\u7684\u6642\u9593\u8868\u65bc\u5be6\u9ad4\u8cc7\u6599\u8868 \u5229\u7528\u67e5\u8868\u6cd5\u52d5\u614b\u7522\u751f\u865b\u64ec\u8cc7\u6599\u8868 \u5229\u7528\u6f14\u7b97\u6cd5\u7522\u751f\u865b\u64ec\u8cc7\u6599\u8868 shortie \u5c07\u65bc [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/wordpress.cine.idv.tw\/index.php\/2019\/03\/19\/mysql-generate-table-contains-all-minutes-of-specific-date-dynamicall\/\" \/>\n<meta property=\"og:site_name\" content=\"\u56db\u7dad\u4e8c\u6728\u4e4b\u5bb6\" \/>\n<meta property=\"article:published_time\" content=\"2019-03-19T01:35:57+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-03-19T01:40:58+00:00\" \/>\n<meta name=\"author\" content=\"shortie\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005:\" \/>\n\t<meta name=\"twitter:data1\" content=\"shortie\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9810\u4f30\u95b1\u8b80\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 \u5206\u9418\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/wordpress.cine.idv.tw\\\/index.php\\\/2019\\\/03\\\/19\\\/mysql-generate-table-contains-all-minutes-of-specific-date-dynamicall\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/wordpress.cine.idv.tw\\\/index.php\\\/2019\\\/03\\\/19\\\/mysql-generate-table-contains-all-minutes-of-specific-date-dynamicall\\\/\"},\"author\":{\"name\":\"shortie\",\"@id\":\"https:\\\/\\\/wordpress.cine.idv.tw\\\/#\\\/schema\\\/person\\\/2f7c8d7d06c31412a22aeeeb557c791f\"},\"headline\":\"MySQL \u52d5\u614b\u7522\u751f\u5305\u542b\u7279\u5b9a\u65e5\u671f\u6240\u6709\u5206\u9418\u7684\u8cc7\u6599\u8868\",\"datePublished\":\"2019-03-19T01:35:57+00:00\",\"dateModified\":\"2019-03-19T01:40:58+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/wordpress.cine.idv.tw\\\/index.php\\\/2019\\\/03\\\/19\\\/mysql-generate-table-contains-all-minutes-of-specific-date-dynamicall\\\/\"},\"wordCount\":13,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/wordpress.cine.idv.tw\\\/#\\\/schema\\\/person\\\/2f7c8d7d06c31412a22aeeeb557c791f\"},\"keywords\":[\"MySQL\",\"SQL\"],\"articleSection\":[\"\u8cc7\u8a0a\u79d1\u6280\"],\"inLanguage\":\"zh-TW\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/wordpress.cine.idv.tw\\\/index.php\\\/2019\\\/03\\\/19\\\/mysql-generate-table-contains-all-minutes-of-specific-date-dynamicall\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/wordpress.cine.idv.tw\\\/index.php\\\/2019\\\/03\\\/19\\\/mysql-generate-table-contains-all-minutes-of-specific-date-dynamicall\\\/\",\"url\":\"https:\\\/\\\/wordpress.cine.idv.tw\\\/index.php\\\/2019\\\/03\\\/19\\\/mysql-generate-table-contains-all-minutes-of-specific-date-dynamicall\\\/\",\"name\":\"MySQL \u52d5\u614b\u7522\u751f\u5305\u542b\u7279\u5b9a\u65e5\u671f\u6240\u6709\u5206\u9418\u7684\u8cc7\u6599\u8868 - \u56db\u7dad\u4e8c\u6728\u4e4b\u5bb6\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/wordpress.cine.idv.tw\\\/#website\"},\"datePublished\":\"2019-03-19T01:35:57+00:00\",\"dateModified\":\"2019-03-19T01:40:58+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/wordpress.cine.idv.tw\\\/index.php\\\/2019\\\/03\\\/19\\\/mysql-generate-table-contains-all-minutes-of-specific-date-dynamicall\\\/#breadcrumb\"},\"inLanguage\":\"zh-TW\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/wordpress.cine.idv.tw\\\/index.php\\\/2019\\\/03\\\/19\\\/mysql-generate-table-contains-all-minutes-of-specific-date-dynamicall\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/wordpress.cine.idv.tw\\\/index.php\\\/2019\\\/03\\\/19\\\/mysql-generate-table-contains-all-minutes-of-specific-date-dynamicall\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9801\",\"item\":\"https:\\\/\\\/wordpress.cine.idv.tw\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"MySQL \u52d5\u614b\u7522\u751f\u5305\u542b\u7279\u5b9a\u65e5\u671f\u6240\u6709\u5206\u9418\u7684\u8cc7\u6599\u8868\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/wordpress.cine.idv.tw\\\/#website\",\"url\":\"https:\\\/\\\/wordpress.cine.idv.tw\\\/\",\"name\":\"\u56db\u7dad\u4e8c\u6728\u4e4b\u5bb6\",\"description\":\"\u656c\u754f\u8036\u548c\u83ef\u662f\u667a\u6167\u7684\u958b\u7aef\uff0c \u8a8d\u8b58\u81f3\u8056\u8005\u4fbf\u662f\u8070\u660e\u3002\u7bb4\u8a00\u4e5d:10\",\"publisher\":{\"@id\":\"https:\\\/\\\/wordpress.cine.idv.tw\\\/#\\\/schema\\\/person\\\/2f7c8d7d06c31412a22aeeeb557c791f\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/wordpress.cine.idv.tw\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"zh-TW\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/wordpress.cine.idv.tw\\\/#\\\/schema\\\/person\\\/2f7c8d7d06c31412a22aeeeb557c791f\",\"name\":\"shortie\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-TW\",\"@id\":\"https:\\\/\\\/i2.wp.com\\\/wordpress.cine.idv.tw\\\/wp-content\\\/uploads\\\/2021\\\/11\\\/111945_400x400.jpg?fit=400%2C400&ssl=1\",\"url\":\"https:\\\/\\\/i2.wp.com\\\/wordpress.cine.idv.tw\\\/wp-content\\\/uploads\\\/2021\\\/11\\\/111945_400x400.jpg?fit=400%2C400&ssl=1\",\"contentUrl\":\"https:\\\/\\\/i2.wp.com\\\/wordpress.cine.idv.tw\\\/wp-content\\\/uploads\\\/2021\\\/11\\\/111945_400x400.jpg?fit=400%2C400&ssl=1\",\"width\":400,\"height\":400,\"caption\":\"shortie\"},\"logo\":{\"@id\":\"https:\\\/\\\/i2.wp.com\\\/wordpress.cine.idv.tw\\\/wp-content\\\/uploads\\\/2021\\\/11\\\/111945_400x400.jpg?fit=400%2C400&ssl=1\"},\"sameAs\":[\"https:\\\/\\\/wordpress.cine.idv.tw\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"MySQL \u52d5\u614b\u7522\u751f\u5305\u542b\u7279\u5b9a\u65e5\u671f\u6240\u6709\u5206\u9418\u7684\u8cc7\u6599\u8868 - \u56db\u7dad\u4e8c\u6728\u4e4b\u5bb6","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:\/\/wordpress.cine.idv.tw\/index.php\/2019\/03\/19\/mysql-generate-table-contains-all-minutes-of-specific-date-dynamicall\/","og_locale":"zh_TW","og_type":"article","og_title":"MySQL \u52d5\u614b\u7522\u751f\u5305\u542b\u7279\u5b9a\u65e5\u671f\u6240\u6709\u5206\u9418\u7684\u8cc7\u6599\u8868 - \u56db\u7dad\u4e8c\u6728\u4e4b\u5bb6","og_description":"\u61c9\u7528\u7a0b\u5f0f\u5e38\u5e38\u6703\u6709\u6392\u7a0b\u7684\u9700\u6c42, \u5728\u8cc7\u6599\u5eab\u7684\u61c9\u7528\u4e2d, \u6392\u7a0b\u6240\u9700\u8981\u7684\u6642\u9593\u8868\u53ef\u4ee5\u7528\u4e0b\u5217\u9019\u5e7e\u7a2e\u65b9\u5f0f\u4f86\u7522\u751f: \u4e8b\u5148\u7522\u751f\u597d\u61c9\u7528\u7a0b\u5f0f\u6240\u9700\u8981\u7684\u6642\u9593\u8868\u65bc\u5be6\u9ad4\u8cc7\u6599\u8868 \u5229\u7528\u67e5\u8868\u6cd5\u52d5\u614b\u7522\u751f\u865b\u64ec\u8cc7\u6599\u8868 \u5229\u7528\u6f14\u7b97\u6cd5\u7522\u751f\u865b\u64ec\u8cc7\u6599\u8868 shortie \u5c07\u65bc [&hellip;]","og_url":"https:\/\/wordpress.cine.idv.tw\/index.php\/2019\/03\/19\/mysql-generate-table-contains-all-minutes-of-specific-date-dynamicall\/","og_site_name":"\u56db\u7dad\u4e8c\u6728\u4e4b\u5bb6","article_published_time":"2019-03-19T01:35:57+00:00","article_modified_time":"2019-03-19T01:40:58+00:00","author":"shortie","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005:":"shortie","\u9810\u4f30\u95b1\u8b80\u6642\u9593":"1 \u5206\u9418"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/wordpress.cine.idv.tw\/index.php\/2019\/03\/19\/mysql-generate-table-contains-all-minutes-of-specific-date-dynamicall\/#article","isPartOf":{"@id":"https:\/\/wordpress.cine.idv.tw\/index.php\/2019\/03\/19\/mysql-generate-table-contains-all-minutes-of-specific-date-dynamicall\/"},"author":{"name":"shortie","@id":"https:\/\/wordpress.cine.idv.tw\/#\/schema\/person\/2f7c8d7d06c31412a22aeeeb557c791f"},"headline":"MySQL \u52d5\u614b\u7522\u751f\u5305\u542b\u7279\u5b9a\u65e5\u671f\u6240\u6709\u5206\u9418\u7684\u8cc7\u6599\u8868","datePublished":"2019-03-19T01:35:57+00:00","dateModified":"2019-03-19T01:40:58+00:00","mainEntityOfPage":{"@id":"https:\/\/wordpress.cine.idv.tw\/index.php\/2019\/03\/19\/mysql-generate-table-contains-all-minutes-of-specific-date-dynamicall\/"},"wordCount":13,"commentCount":0,"publisher":{"@id":"https:\/\/wordpress.cine.idv.tw\/#\/schema\/person\/2f7c8d7d06c31412a22aeeeb557c791f"},"keywords":["MySQL","SQL"],"articleSection":["\u8cc7\u8a0a\u79d1\u6280"],"inLanguage":"zh-TW","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/wordpress.cine.idv.tw\/index.php\/2019\/03\/19\/mysql-generate-table-contains-all-minutes-of-specific-date-dynamicall\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/wordpress.cine.idv.tw\/index.php\/2019\/03\/19\/mysql-generate-table-contains-all-minutes-of-specific-date-dynamicall\/","url":"https:\/\/wordpress.cine.idv.tw\/index.php\/2019\/03\/19\/mysql-generate-table-contains-all-minutes-of-specific-date-dynamicall\/","name":"MySQL \u52d5\u614b\u7522\u751f\u5305\u542b\u7279\u5b9a\u65e5\u671f\u6240\u6709\u5206\u9418\u7684\u8cc7\u6599\u8868 - \u56db\u7dad\u4e8c\u6728\u4e4b\u5bb6","isPartOf":{"@id":"https:\/\/wordpress.cine.idv.tw\/#website"},"datePublished":"2019-03-19T01:35:57+00:00","dateModified":"2019-03-19T01:40:58+00:00","breadcrumb":{"@id":"https:\/\/wordpress.cine.idv.tw\/index.php\/2019\/03\/19\/mysql-generate-table-contains-all-minutes-of-specific-date-dynamicall\/#breadcrumb"},"inLanguage":"zh-TW","potentialAction":[{"@type":"ReadAction","target":["https:\/\/wordpress.cine.idv.tw\/index.php\/2019\/03\/19\/mysql-generate-table-contains-all-minutes-of-specific-date-dynamicall\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/wordpress.cine.idv.tw\/index.php\/2019\/03\/19\/mysql-generate-table-contains-all-minutes-of-specific-date-dynamicall\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9801","item":"https:\/\/wordpress.cine.idv.tw\/"},{"@type":"ListItem","position":2,"name":"MySQL \u52d5\u614b\u7522\u751f\u5305\u542b\u7279\u5b9a\u65e5\u671f\u6240\u6709\u5206\u9418\u7684\u8cc7\u6599\u8868"}]},{"@type":"WebSite","@id":"https:\/\/wordpress.cine.idv.tw\/#website","url":"https:\/\/wordpress.cine.idv.tw\/","name":"\u56db\u7dad\u4e8c\u6728\u4e4b\u5bb6","description":"\u656c\u754f\u8036\u548c\u83ef\u662f\u667a\u6167\u7684\u958b\u7aef\uff0c \u8a8d\u8b58\u81f3\u8056\u8005\u4fbf\u662f\u8070\u660e\u3002\u7bb4\u8a00\u4e5d:10","publisher":{"@id":"https:\/\/wordpress.cine.idv.tw\/#\/schema\/person\/2f7c8d7d06c31412a22aeeeb557c791f"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/wordpress.cine.idv.tw\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"zh-TW"},{"@type":["Person","Organization"],"@id":"https:\/\/wordpress.cine.idv.tw\/#\/schema\/person\/2f7c8d7d06c31412a22aeeeb557c791f","name":"shortie","image":{"@type":"ImageObject","inLanguage":"zh-TW","@id":"https:\/\/i2.wp.com\/wordpress.cine.idv.tw\/wp-content\/uploads\/2021\/11\/111945_400x400.jpg?fit=400%2C400&ssl=1","url":"https:\/\/i2.wp.com\/wordpress.cine.idv.tw\/wp-content\/uploads\/2021\/11\/111945_400x400.jpg?fit=400%2C400&ssl=1","contentUrl":"https:\/\/i2.wp.com\/wordpress.cine.idv.tw\/wp-content\/uploads\/2021\/11\/111945_400x400.jpg?fit=400%2C400&ssl=1","width":400,"height":400,"caption":"shortie"},"logo":{"@id":"https:\/\/i2.wp.com\/wordpress.cine.idv.tw\/wp-content\/uploads\/2021\/11\/111945_400x400.jpg?fit=400%2C400&ssl=1"},"sameAs":["https:\/\/wordpress.cine.idv.tw"]}]}},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p2GqAF-9B","jetpack-related-posts":[{"id":1218,"url":"https:\/\/wordpress.cine.idv.tw\/index.php\/2020\/12\/31\/mysql-auto-increment-column-gap-2\/","url_meta":{"origin":595,"position":0},"title":"MySQL AUTO_INCREMENT \u6703 \u201c\u8df3\u865f\u201d \u4e8c\u90e8\u66f2","author":"shortie","date":"2020-12-31","format":false,"excerpt":"2020 \u5e74\u6700\u5f8c\u4e00\u5929, \u516c\u53f8\u65bd\u884c\u5fb7\u653f\u4e0b\u5348\u4e0d\u4e0a\u73ed, \u6b63\u5728\u4eab\u53d7\u96e3\u5f97\u4e0d\u7528\u6025\u6025\u5fd9\u5fd9\u63a5\u9001\u5c0f\u5b69\u7684\u6642\u5149, \u51b7\u4e0d\u9632\u6536\u2026","rel":"","context":"\u5728\u300c\u8cc7\u8a0a\u79d1\u6280\u300d\u4e2d","block_context":{"text":"\u8cc7\u8a0a\u79d1\u6280","link":"https:\/\/wordpress.cine.idv.tw\/index.php\/category\/it\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/wordpress.cine.idv.tw\/wp-content\/uploads\/2020\/12\/2020-12-31_17-48-06.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/wordpress.cine.idv.tw\/wp-content\/uploads\/2020\/12\/2020-12-31_17-48-06.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/wordpress.cine.idv.tw\/wp-content\/uploads\/2020\/12\/2020-12-31_17-48-06.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":2605,"url":"https:\/\/wordpress.cine.idv.tw\/index.php\/2022\/08\/15\/best-practice-sql-pattern-for-importing-data-into-other-tables\/","url_meta":{"origin":595,"position":1},"title":"SQL: \u8cc7\u6599\u532f\u5165\u4ed6\u65b9\u8cc7\u6599\u8868\u7684\u6a19\u6e96\u53e5\u578b","author":"shortie","date":"2022-08-15","format":false,"excerpt":"\u5de5\u4f5c\u4e0a\u5e38\u5e38\u63a5\u89f8\u5230\u8cc7\u6599\u532f\u5165\u7684\u4f5c\u696d\uff0c \u9762\u5c0d\u4e0d\u540c\u5718\u968a\u63d0\u4f9b\u7684\u8cc7\u6599\u8907\u88fd SQL \u6307\u4ee4\u7a3f\u6642\uff0c \u4e0d\u6642\u6703\u5c0d\u5718\u968a\u6210\u54e1\u7684\u2026","rel":"","context":"\u5728\u300c\u8cc7\u8a0a\u79d1\u6280\u300d\u4e2d","block_context":{"text":"\u8cc7\u8a0a\u79d1\u6280","link":"https:\/\/wordpress.cine.idv.tw\/index.php\/category\/it\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":464,"url":"https:\/\/wordpress.cine.idv.tw\/index.php\/2018\/09\/08\/tableau-create-date-calculated-field\/","url_meta":{"origin":595,"position":2},"title":"\u5728 Tableau \u4e2d\u5229\u7528\u6587\u5b57\u6b04\u4f4d\u5efa\u7acb\u65e5\u671f\u5c0e\u51fa\u6b04\u4f4d","author":"shortie","date":"2018-09-08","format":false,"excerpt":"shortie \u7d93\u624b\u7684\u5404\u5f0f\u8cc7\u6599\u4e2d\uff0c\u7d93\u5e38\u6703\u78b0\u5230\u4f86\u6e90\u8cc7\u6599\u4e2d\u7684\u65e5\u671f\u6642\u9593\u6b04\u4f4d\uff0c\u88ab\u62c6\u89e3\u70ba\u5e74\u3001\u6708\u3001\u65e5\u3001\u6642\u3001\u5206\u3001\u79d2\u2026","rel":"","context":"\u5728\u300c\u8cc7\u8a0a\u79d1\u6280\u300d\u4e2d","block_context":{"text":"\u8cc7\u8a0a\u79d1\u6280","link":"https:\/\/wordpress.cine.idv.tw\/index.php\/category\/it\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":589,"url":"https:\/\/wordpress.cine.idv.tw\/index.php\/2019\/03\/18\/mysql-query-table-data-length\/","url_meta":{"origin":595,"position":3},"title":"\u67e5\u8a62 MySQL \u8cc7\u6599\u8868\u5927\u5c0f\u7684 SQL","author":"shortie","date":"2019-03-18","format":false,"excerpt":"\u96d6\u7136\u8aaa\u5f88\u591a MySQL \u5de5\u5177\u90fd\u6703\u63d0\u4f9b\u8cc7\u6599\u8868\u5927\u5c0f\u7684\u8cc7\u8a0a, \u4f46\u662f\u6709\u4e9b\u60c5\u6cc1\u9084\u662f\u4f7f\u7528 SQL \u67e5\u8a62\u4f86\u5f97\u6b63\u78ba\u8207\u2026","rel":"","context":"\u5728\u300c\u8cc7\u8a0a\u79d1\u6280\u300d\u4e2d","block_context":{"text":"\u8cc7\u8a0a\u79d1\u6280","link":"https:\/\/wordpress.cine.idv.tw\/index.php\/category\/it\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/wordpress.cine.idv.tw\/wp-content\/uploads\/2019\/03\/sql-maestro-for-mysql-table-list-with-data-length.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/wordpress.cine.idv.tw\/wp-content\/uploads\/2019\/03\/sql-maestro-for-mysql-table-list-with-data-length.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/wordpress.cine.idv.tw\/wp-content\/uploads\/2019\/03\/sql-maestro-for-mysql-table-list-with-data-length.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/wordpress.cine.idv.tw\/wp-content\/uploads\/2019\/03\/sql-maestro-for-mysql-table-list-with-data-length.png?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/wordpress.cine.idv.tw\/wp-content\/uploads\/2019\/03\/sql-maestro-for-mysql-table-list-with-data-length.png?resize=1050%2C600&ssl=1 3x"},"classes":[]},{"id":2487,"url":"https:\/\/wordpress.cine.idv.tw\/index.php\/2022\/06\/19\/mysql-users-changed-their-ip-addresses-what-is-the-best-way-to-deal-with-this\/","url_meta":{"origin":595,"position":4},"title":"MySQL: \u4fee\u6539\u5e33\u865f\u4f7f\u7528\u7684\u4f86\u6e90 IP \u4f4d\u5740\u53ef\u4ee5\u9019\u9ebc\u505a!","author":"shortie","date":"2022-06-19","format":false,"excerpt":"\u6211\u5011\u5b58\u53d6\u9060\u7aef\u7684 MySQL \u4f3a\u670d\u5668\u6642\uff0c \u901a\u5e38\u70ba\u4e86\u5b89\u5168\u7684\u7de3\u6545\uff0c \u9060\u7aef\u7684 MySQL \u7ba1\u7406\u4eba\u54e1\u4e0d\u592a\u53ef\u80fd\u5e6b\u2026","rel":"","context":"\u5728\u300c\u8cc7\u8a0a\u79d1\u6280\u300d\u4e2d","block_context":{"text":"\u8cc7\u8a0a\u79d1\u6280","link":"https:\/\/wordpress.cine.idv.tw\/index.php\/category\/it\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/wordpress.cine.idv.tw\/wp-content\/uploads\/2022\/06\/%E4%B8%80%E5%80%8B%E5%9B%BA%E5%AE%9A-IP-%E4%B8%83%E5%80%8B%E5%8B%95%E6%85%8B-IP-1-scaled.jpg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/wordpress.cine.idv.tw\/wp-content\/uploads\/2022\/06\/%E4%B8%80%E5%80%8B%E5%9B%BA%E5%AE%9A-IP-%E4%B8%83%E5%80%8B%E5%8B%95%E6%85%8B-IP-1-scaled.jpg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/wordpress.cine.idv.tw\/wp-content\/uploads\/2022\/06\/%E4%B8%80%E5%80%8B%E5%9B%BA%E5%AE%9A-IP-%E4%B8%83%E5%80%8B%E5%8B%95%E6%85%8B-IP-1-scaled.jpg?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/wordpress.cine.idv.tw\/wp-content\/uploads\/2022\/06\/%E4%B8%80%E5%80%8B%E5%9B%BA%E5%AE%9A-IP-%E4%B8%83%E5%80%8B%E5%8B%95%E6%85%8B-IP-1-scaled.jpg?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/wordpress.cine.idv.tw\/wp-content\/uploads\/2022\/06\/%E4%B8%80%E5%80%8B%E5%9B%BA%E5%AE%9A-IP-%E4%B8%83%E5%80%8B%E5%8B%95%E6%85%8B-IP-1-scaled.jpg?resize=1050%2C600&ssl=1 3x, https:\/\/i0.wp.com\/wordpress.cine.idv.tw\/wp-content\/uploads\/2022\/06\/%E4%B8%80%E5%80%8B%E5%9B%BA%E5%AE%9A-IP-%E4%B8%83%E5%80%8B%E5%8B%95%E6%85%8B-IP-1-scaled.jpg?resize=1400%2C800&ssl=1 4x"},"classes":[]},{"id":337,"url":"https:\/\/wordpress.cine.idv.tw\/index.php\/2004\/03\/03\/s-lang-notebook\/","url_meta":{"origin":595,"position":5},"title":"S-Lang \u7b46\u8a18","author":"shortie","date":"2004-03-03","format":false,"excerpt":"\u4f7f\u7528\u60c5\u5883 shortie \u65bc\u5049\u5f3c\/\u5049\u65af\u5de5\u4f5c\u671f\u9593, \u9700\u8981\u5728\u4e00\u500b\u53ef\u8b80\u53d6\u689d\u78bc\u7684\u624b\u6301\u88dd\u7f6e\u4e2d, \u63d0\u4f9b\u4e00\u500b\u53ef\u4f9b\u7528\u2026","rel":"","context":"\u5728\u300c\u8cc7\u8a0a\u79d1\u6280\u300d\u4e2d","block_context":{"text":"\u8cc7\u8a0a\u79d1\u6280","link":"https:\/\/wordpress.cine.idv.tw\/index.php\/category\/it\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/wordpress.cine.idv.tw\/index.php\/wp-json\/wp\/v2\/posts\/595","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.cine.idv.tw\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wordpress.cine.idv.tw\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.cine.idv.tw\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.cine.idv.tw\/index.php\/wp-json\/wp\/v2\/comments?post=595"}],"version-history":[{"count":3,"href":"https:\/\/wordpress.cine.idv.tw\/index.php\/wp-json\/wp\/v2\/posts\/595\/revisions"}],"predecessor-version":[{"id":598,"href":"https:\/\/wordpress.cine.idv.tw\/index.php\/wp-json\/wp\/v2\/posts\/595\/revisions\/598"}],"wp:attachment":[{"href":"https:\/\/wordpress.cine.idv.tw\/index.php\/wp-json\/wp\/v2\/media?parent=595"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wordpress.cine.idv.tw\/index.php\/wp-json\/wp\/v2\/categories?post=595"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wordpress.cine.idv.tw\/index.php\/wp-json\/wp\/v2\/tags?post=595"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}