{"id":336,"date":"2023-04-11T17:19:23","date_gmt":"2023-04-11T08:19:23","guid":{"rendered":"https:\/\/www.kuix.co.jp\/da-sys\/?p=336"},"modified":"2023-08-29T19:52:14","modified_gmt":"2023-08-29T10:52:14","slug":"bigquery%e3%81%aesql%e3%81%ae%e5%9f%ba%e6%9c%ac%e3%81%a8%e3%81%99%e3%81%90%e3%81%ab%e4%bd%bf%e3%81%88%e3%82%8b%e3%83%81%e3%83%bc%e3%83%88%e3%82%b7%e3%83%bc%e3%83%88%e3%82%92%e3%81%94%e7%b4%b9%e4%bb%8b","status":"publish","type":"post","link":"https:\/\/www.kuix.co.jp\/da-sys\/?p=336","title":{"rendered":"BigQuery\u306eSQL\u306e\u57fa\u672c\u3068\u3059\u3050\u306b\u4f7f\u3048\u308b\u30c1\u30fc\u30c8\u30b7\u30fc\u30c8\u3092\u3054\u7d39\u4ecb\uff01"},"content":{"rendered":"\n<div class=\"wp-block-group is-stack is-vertical is-layout-flex wp-container-core-group-is-layout-1 wp-block-group-is-layout-flex\">\n<p><strong>BigQuery\u3092\u5c0e\u5165\u3057\u3066\u30c7\u30fc\u30bf\u306e\u84c4\u7a4d\u3092\u59cb\u3081\u305f\u306e\u306b\u3001\u5206\u6790\u8a00\u8a9e\u306eSQL\u304c\u3044\u307e\u3044\u3061\u308f\u304b\u3089\u306a\u3044<\/strong><\/p>\n\n\n\n<p><strong>\u3068\u304a\u60a9\u307f\u306e\u65b9\u306f\u591a\u3044\u306e\u3067\u306f\u306a\u3044\u3067\u3057\u3087\u3046\u304b\u3002<\/strong><\/p>\n<\/div>\n\n\n\n<p>SQL\u306f\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u672a\u5c65\u4fee\u306e\u30de\u30fc\u30b1\u30bf\u30fc\u306e\u65b9\u3067\u3082\u57fa\u672c\u3092\u899a\u3048\u308c\u3070\u3001\u5341\u5206\u306b\u5206\u6790\u3092\u59cb\u3081\u3089\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u672c\u8a18\u4e8b\u3067\u306fBigQuery\u306eSQL\u306e\u57fa\u672c\u3068\u3001\u5b9f\u969b\u306e\u696d\u52d9\u3067\u4f7f\u3048\u308bSQL\u306e\u7528\u4f8b\u96c6\uff08\u30c1\u30fc\u30c8\u30b7\u30fc\u30c8\uff09\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><a href=\"https:\/\/www.home.smart-data-collector.com\/smart-data-collector-for-db?utm_source=DASYS&amp;utm_medium=DASYS&amp;utm_campaign=Kiji336\" target=\"_blank\" rel=\"noreferrer noopener\"><img decoding=\"async\" src=\"https:\/\/www.kuix.co.jp\/da-sys\/wp-content\/uploads\/2023\/05\/Blue-Data-Statistics-Facebook-Ad-2-1024x536.png\" alt=\"\" class=\"wp-image-565\" style=\"width:548px;height:287px\" width=\"548\" height=\"287\" srcset=\"https:\/\/www.kuix.co.jp\/da-sys\/wp-content\/uploads\/2023\/05\/Blue-Data-Statistics-Facebook-Ad-2-1024x536.png 1024w, https:\/\/www.kuix.co.jp\/da-sys\/wp-content\/uploads\/2023\/05\/Blue-Data-Statistics-Facebook-Ad-2-300x157.png 300w, https:\/\/www.kuix.co.jp\/da-sys\/wp-content\/uploads\/2023\/05\/Blue-Data-Statistics-Facebook-Ad-2-768x402.png 768w, https:\/\/www.kuix.co.jp\/da-sys\/wp-content\/uploads\/2023\/05\/Blue-Data-Statistics-Facebook-Ad-2.png 1200w\" sizes=\"(max-width: 548px) 100vw, 548px\" \/><\/a><\/figure><\/div>\n\n\n<h2 class=\"wp-block-heading\">BigQuery\u306e\u30c6\u30fc\u30d6\u30eb\u306bSQL\u3092\u5b9f\u884c\u3059\u308b<\/h2>\n\n\n\n<p>BigQuery\u306e\u753b\u9762\u3092\u958b\u3044\u305f\u3089\u3001\u5de6\u5074\u306e\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u3068\u30c6\u30fc\u30d6\u30eb\u306e\u4e00\u89a7\u3088\u308aSQL\u3092\u5b9f\u884c\u3059\u308b\u30c6\u30fc\u30d6\u30eb\u3092\u9078\u629e\u3057\u307e\u3059\u3002\u9078\u629e\u3057\u305f\u30c6\u30fc\u30d6\u30eb\u306e\u30b9\u30ad\u30fc\u30de\u306a\u3069\u8a73\u7d30\u60c5\u5831\u304c\u8868\u793a\u3055\u308c\u308b\u306e\u3067\u3001\u4e0a\u90e8\u306e\u300c\u30af\u30a8\u30ea\u300d\u3092\u9078\u629e\u3059\u308b\u3068\u3001SQL\u306e\u30a8\u30c7\u30a3\u30bf\u30fc\u30bf\u30d6\u3092\u958b\u3044\u3066\u3001\u300c\u5b9f\u884c\u300d\u3067SQL\u3092\u5b9f\u884c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"520\" src=\"https:\/\/www.kuix.co.jp\/da-sys\/wp-content\/uploads\/2023\/04\/BigQuery\u306e\u30c6\u30fc\u30d6\u30eb\u306bSQL\u3092\u5b9f\u884c\u3059\u308b-1024x520.png\" alt=\"\" class=\"wp-image-340\" srcset=\"https:\/\/www.kuix.co.jp\/da-sys\/wp-content\/uploads\/2023\/04\/BigQuery\u306e\u30c6\u30fc\u30d6\u30eb\u306bSQL\u3092\u5b9f\u884c\u3059\u308b-1024x520.png 1024w, https:\/\/www.kuix.co.jp\/da-sys\/wp-content\/uploads\/2023\/04\/BigQuery\u306e\u30c6\u30fc\u30d6\u30eb\u306bSQL\u3092\u5b9f\u884c\u3059\u308b-300x152.png 300w, https:\/\/www.kuix.co.jp\/da-sys\/wp-content\/uploads\/2023\/04\/BigQuery\u306e\u30c6\u30fc\u30d6\u30eb\u306bSQL\u3092\u5b9f\u884c\u3059\u308b-768x390.png 768w, https:\/\/www.kuix.co.jp\/da-sys\/wp-content\/uploads\/2023\/04\/BigQuery\u306e\u30c6\u30fc\u30d6\u30eb\u306bSQL\u3092\u5b9f\u884c\u3059\u308b-1536x780.png 1536w, https:\/\/www.kuix.co.jp\/da-sys\/wp-content\/uploads\/2023\/04\/BigQuery\u306e\u30c6\u30fc\u30d6\u30eb\u306bSQL\u3092\u5b9f\u884c\u3059\u308b-2048x1040.png 2048w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">SQL\u5b9f\u884c\u6642\u306b\u6ce8\u610f\u3059\u308b\u3053\u3068<\/h3>\n\n\n\n<p>SQL\u5b9f\u884c\u6642\u306b\u306f\u4ee5\u4e0b\u306e\uff12\u70b9\u306b\u6ce8\u610f\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<div class=\"wp-block-group is-stack is-vertical is-layout-flex wp-container-core-group-is-layout-2 wp-block-group-is-layout-flex\">\n<p><strong>\u30fb\u30c6\u30fc\u30d6\u30eb\u306e\u30c7\u30fc\u30bf\u3092\u5909\u66f4\u3059\u308bDML\u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u306e\u5b9f\u884c\u306b\u6c17\u3092\u4ed8\u3051\u308b<\/strong><\/p>\n\n\n\n<p>DML\u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u3068\u306f\u3001\u66f4\u65b0\uff08Update\uff09\u3001\u633f\u5165\uff08Insert\uff09\u3001\u524a\u9664\uff08Delete\uff09\u3092\u884c\u3046SQL\u306e\u3053\u3068\u3067\u3001\u3053\u308c\u3089\u306eSQL\u3092\u5b9f\u884c\u3059\u308b\u3068\u305d\u306e\u540d\u524d\u306e\u901a\u308a\u3001\u30c6\u30fc\u30d6\u30eb\u306e\u30c7\u30fc\u30bf\u3092\u5909\u66f4\u3057\u3066\u3057\u307e\u3044\u57fa\u672c\u7684\u306b\u306f\u5143\u306b\u623b\u305b\u306a\u304f\u306a\u3063\u3066\u3057\u307e\u3046\u306e\u3067\u3001SQL\u306b\u6163\u308c\u306a\u3044\u3046\u3061\u306fDML\u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u306e\u5b9f\u884c\u306f\u907f\u3051\u308b\u306e\u304c\u7121\u96e3\u3067\u3059\u3002<\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-group is-stack is-vertical is-layout-flex wp-container-core-group-is-layout-3 wp-block-group-is-layout-flex\">\n<p><strong>\u30fb\u30c9\u30e9\u30a4\u30e9\u30f3\u6a5f\u80fd\u3067\u3001SQL\u5b9f\u884c\u6642\u306e\u30c7\u30fc\u30bf\u51e6\u7406\u91cf\u3092\u78ba\u8a8d\u3059\u308b<\/strong><\/p>\n\n\n\n<p>BigQuery\u3067SQL\u306a\u3069\u306e\u30b8\u30e7\u30d6\u3092\u5b9f\u884c\u3059\u308b\u8cbb\u7528\u306f\u5f93\u91cf\u8ab2\u91d1\u5236\u3067\u3059\u3002\u5b89\u4fa1\u306aBigQuery\u3068\u306f\u3044\u3048\u3001\u9014\u65b9\u3082\u306a\u3044\u91cf\u306e\u30d3\u30c3\u30b0\u30c7\u30fc\u30bf\u3084\u3001\u8907\u96d1\u306aSQL\u3092\u5b9f\u884c\u3059\u308b\u3068\u601d\u308f\u306c\u91d1\u984d\u304c\u8ab2\u91d1\u3055\u308c\u3066\u3057\u307e\u3063\u305f\u3068\u306a\u308a\u304b\u306d\u307e\u305b\u3093\u3002\u53f3\u4e0a\u306bSQL\u5b9f\u884c\u6642\u306e\u30c7\u30fc\u30bf\u51e6\u7406\u91cf\u306e\u76ee\u5b89\u304c\u8868\u793a\u3055\u308c\u308b\u306e\u3067\u3001\u78ba\u8a8d\u3059\u308b\u3088\u3046\u306b\u3057\u307e\u3057\u3087\u3046\u3002\u3053\u306eSQL\u5b9f\u884c\u524d\u306b\u30c7\u30fc\u30bf\u51e6\u7406\u91cf\u306e\u76ee\u5b89\u3092\u8868\u793a\u3059\u308b\u6a5f\u80fd\u3092\u30c9\u30e9\u30a4\u30e9\u30f3\u3068\u8a00\u3044\u307e\u3059\u3002<\/p>\n<\/div>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"411\" src=\"https:\/\/www.kuix.co.jp\/da-sys\/wp-content\/uploads\/2023\/04\/SQL\u5b9f\u884c\u6642\u306b\u6ce8\u610f\u3059\u308b\u3053\u3068-1024x411.png\" alt=\"\" class=\"wp-image-341\" srcset=\"https:\/\/www.kuix.co.jp\/da-sys\/wp-content\/uploads\/2023\/04\/SQL\u5b9f\u884c\u6642\u306b\u6ce8\u610f\u3059\u308b\u3053\u3068-1024x411.png 1024w, https:\/\/www.kuix.co.jp\/da-sys\/wp-content\/uploads\/2023\/04\/SQL\u5b9f\u884c\u6642\u306b\u6ce8\u610f\u3059\u308b\u3053\u3068-300x121.png 300w, https:\/\/www.kuix.co.jp\/da-sys\/wp-content\/uploads\/2023\/04\/SQL\u5b9f\u884c\u6642\u306b\u6ce8\u610f\u3059\u308b\u3053\u3068-768x309.png 768w, https:\/\/www.kuix.co.jp\/da-sys\/wp-content\/uploads\/2023\/04\/SQL\u5b9f\u884c\u6642\u306b\u6ce8\u610f\u3059\u308b\u3053\u3068-1536x617.png 1536w, https:\/\/www.kuix.co.jp\/da-sys\/wp-content\/uploads\/2023\/04\/SQL\u5b9f\u884c\u6642\u306b\u6ce8\u610f\u3059\u308b\u3053\u3068-2048x823.png 2048w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">\u57fa\u672c\u7684\u306aSQL<\/h2>\n\n\n\n<p>BigQuery\u3067\u4f7f\u3046SQL\u8a00\u8a9e\u306f\u6b63\u78ba\u306b\u306fGoogleSQL\u3068\u8a00\u3044\u307e\u3059\u3002MySQL\u3084Microsoft SQL Server\u306a\u3069\u4ed6\u306eDB\u3067\u4f7f\u7528\u3059\u308bSQL\u3068\u57fa\u672c\u7684\u306a\u69cb\u6587\u306f\u540c\u4e00\u3067\u3059\u304c\u3001\u4e00\u90e8\u4ed6\u306eDB\u3067\u306f\u4f7f\u7528\u3067\u304d\u308b\u306e\u306bBigQuery\u3067\u306f\u4f7f\u7528\u3067\u304d\u306a\u3044\u69cb\u6587\u3082\u5b58\u5728\u3059\u308b\u306e\u3067\u6ce8\u610f\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">SELECT\u6587\u3067\u30c7\u30fc\u30bf\u3092\u53d6\u5f97<\/h3>\n\n\n\n<p>SQL\u306e\u57fa\u672c\u69cb\u6587\u306f\u3001SELECT [\u53d6\u308a\u51fa\u3059\u5217] FROM [\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u540d].[\u30c6\u30fc\u30d6\u30eb\u540d]; \u3067\u3059\u3002<\/p>\n\n\n\n<div class=\"wp-block-group is-stack is-vertical is-layout-flex wp-container-core-group-is-layout-4 wp-block-group-is-layout-flex\">\n<p>\u4f8b\u3048\u3070\u3001SELECT customer_id, customer_name FROM customer_table;<\/p>\n\n\n\n<p>\u3053\u306e\u3088\u3046\u306aSQL\u3060\u3068\u3001\u300ccustomer_table\u300d\u3068\u3044\u3046\u9867\u5ba2\u306b\u95a2\u3059\u308b\u30c6\u30fc\u30d6\u30eb\u304b\u3089\u3001\u300ccustomer_id\u300d\u3001\u300ccustomer_table\u300d\u3092\u5168\u3066\u53d6\u5f97\u3057\u307e\u3059\u3002<\/p>\n\n\n\n\n\n\n\n<p>SELECT *\uff08\u30a2\u30b9\u30bf\u30ea\u30b9\u30af\uff09\u306f\u5168\u3066\u306e\u5217\u306e\u53d6\u5f97\u3067\u3059\u3002<\/p>\n\n\n\n<p>SELECT * FROM customer_table;<\/p>\n\n\n\n<p>\u3053\u306eSQL\u306f\u300ccustomer_table\u300d\u3068\u3044\u3046\u9867\u5ba2\u306b\u95a2\u3059\u308b\u30c6\u30fc\u30d6\u30eb\u304b\u3089\u3001\u5168\u3066\u306e\u5217\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002<\/p>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">WHERE\u53e5\u3067\u53d6\u5f97\u3059\u308b\u6761\u4ef6\u306e\u6307\u5b9a<\/h3>\n\n\n\n<div class=\"wp-block-group is-stack is-vertical is-layout-flex wp-container-core-group-is-layout-5 wp-block-group-is-layout-flex\">\n<p>SELECT\u6587\u3067\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u3089\u3001\u6b21\u306fWHERE\u53e5\u3067\u3069\u306e\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3059\u308b\u304b\u6761\u4ef6\u6307\u5b9a\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<p>WHERE\u53e5\u3067\u306f\u3001=\uff08\u7b49\u3057\u3044\uff09\u3001&gt;\uff08\u5927\u304d\u3044\uff09\u306a\u3069\u306e\u7b97\u8853\u6f14\u7b97\u5b50\u3068\u3001AND\uff08\u30a2\u30f3\u30c9\uff09\u3001OR\uff08\u30aa\u30a2\uff09\u306a\u3069\u306e\u8ad6\u7406\u6f14\u7b97\u5b50\u3067\u53d6\u5f97\u3059\u308b\u30c7\u30fc\u30bf\u306e\u6761\u4ef6\u3092\u6307\u5b9a\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u4f8b\u3048\u3070\u3001SELECT * FROM customer_table WHERE customer_id = &#8216;113&#8217;;<\/p>\n\n\n\n<p>\u3053\u306e\u3088\u3046\u306b\u3059\u308b\u3068\u3001\u300ccustomer_id\u300d\u304c&#8217;113&#8217;\u306e\u9867\u5ba2\u306e\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002<\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-group is-stack is-vertical is-layout-flex wp-container-core-group-is-layout-6 wp-block-group-is-layout-flex\">\n<p>SELECT * FROM customer_table WHERE customer_id = &#8216;113&#8217; OR customer_id = &#8216;143&#8217;;<\/p>\n\n\n\n<p>\u3053\u306e\u4f8b\u3060\u3068\u3001\u300ccustomer_id\u300d\u304c&#8217;113&#8217;\u53c8\u306f&#8217;143&#8217;\u306e\u9867\u5ba2\u306e\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002<\/p>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">GROUP BY\u53e5\u3067\u30b0\u30eb\u30fc\u30d7\u5316\u3057\u3066\u96c6\u8a08<\/h3>\n\n\n\n<p>SELECT\u3068WHERE\u3067\u4efb\u610f\u306e\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u3089\u3001\u6b21\u306f\u3001Excel\u306a\u3069\u8868\u8a08\u7b97\u30bd\u30d5\u30c8\u3067SUM\u306a\u3069\u5408\u8a08\u3092\u51fa\u3057\u305f\u308a\u3057\u3066\u3044\u308b\u3088\u3046\u306b\u3001\u30b0\u30eb\u30fc\u30d7\u5316\u3057\u3066\u96c6\u8a08\u51e6\u7406\u3092\u884c\u3044\u305f\u3044\u3067\u3059\u3088\u306d\u3002<\/p>\n\n\n\n<div class=\"wp-block-group is-stack is-vertical is-layout-flex wp-container-core-group-is-layout-7 wp-block-group-is-layout-flex\">\n<p>\u30b0\u30eb\u30fc\u30d7\u5316\u306fGROUP BY\u53e5\u3067\u884c\u3044\u3001\u96c6\u8a08\u51e6\u7406\u306fExcel\u306a\u3069\u3068\u540c\u3058\u3088\u3046\u306bSUM()\u3084COUNT()\u3092\u4f7f\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u4f8b\u3048\u3070\u3001SELECT age, COUNT(age), SUM(sales) FROM customer_table WHERE gender = &#8216;\u7537\u6027&#8217; GROUP BY age;<\/p>\n\n\n\n<p>\u3053\u306eSQL\u3067\u306f\u3001\u307e\u305aWHERE\u53e5\u3067gender\uff08\u6027\u5225\uff09\u3092\u7537\u6027\u3068\u6307\u5b9a\u3057\u3066\u3001age\uff08\u5e74\u9f62\uff09\u3067\u30b0\u30eb\u30fc\u30d7\u5316\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>SELECT\u6587\u3067\u306f\u3001age, COUNT(age), SUM(sales)\u3068\u6307\u5b9a\u3057\u3066\u3044\u307e\u3059\u306d\u3002\u3053\u308c\u306f\u3001\u5e74\u9f62\u3001\u5e74\u9f62\u3054\u3068\u306e\u9867\u5ba2\u6570\u3001\u5e74\u9f62\u3054\u3068\u306e\u58f2\u4e0a\u306e\u5408\u8a08\u3092\u53d6\u5f97\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n\n\n\n\n<p>\u3082\u3061\u308d\u3093\u6761\u4ef6\u6307\u5b9a\u3059\u308b\u5fc5\u8981\u304c\u306a\u3051\u308c\u3070WHERE\u53e5\u306f\u7121\u304f\u3066\u3082\u69cb\u3044\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<p>SELECT age, COUNT(age), SUM(sales) FROM customer_table GROUP BY age;<\/p>\n\n\n\n<p>WHERE\u53e5\u3092\u7121\u304f\u3059\u3068\u3001\u7537\u5973\u5168\u3066\u306e\u5e74\u9f62\u3001\u5e74\u9f62\u3054\u3068\u306e\u9867\u5ba2\u6570\u3001\u5e74\u9f62\u3054\u3068\u306e\u58f2\u4e0a\u306e\u5408\u8a08\u3001\u3068\u306a\u308a\u307e\u3059\u306d\u3002<\/p>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">ORDER BY\u53e5\u3067\u30c7\u30fc\u30bf\u3092\u30bd\u30fc\u30c8<\/h3>\n\n\n\n<p>\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3057\u3066\u3082\u4e26\u3073\u9806\u304c\u30d0\u30e9\u30d0\u30e9\u3060\u3068\u3068\u3066\u3082\u898b\u306b\u304f\u3044\u3067\u3059\u3088\u306d\u3002\u53d6\u5f97\u3059\u308b\u30c7\u30fc\u30bf\u306e\u30bd\u30fc\u30c8\u306b\u306fORDER BY\u53e5\u3092\u4f7f\u3044\u307e\u3059\u3002ORDER BY\u53e5\u3067\u306f\u4e26\u3073\u66ff\u3048\u306b\u4f7f\u7528\u3059\u308b\u5217\u3068\u3001\u6607\u9806\u30fb\u964d\u9806\u3092\u6307\u5b9a\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"wp-block-group is-stack is-vertical is-layout-flex wp-container-core-group-is-layout-8 wp-block-group-is-layout-flex\">\n<p>\u4e26\u3073\u66ff\u3048\u306b\u4f7f\u7528\u3059\u308b\u5217\u306f\u8907\u6570\u6307\u5b9a\u53ef\u80fd\u3067\u3001\u6607\u9806\u30fb\u964d\u9806\u306fASC\u30fbDESC\u3067\u6307\u5b9a\u3057\u307e\u3059\u3002\uff08ASC:ascending\uff08\u4e0a\u6607\uff09\u3001DESC:descending\uff08\u4e0b\u964d\uff09\uff09<\/p>\n\n\n\n<p>\u4f8b\u3048\u3070\u3001SELECT customer_id, customer_name FROM customer_table ORDER BY customer_id ASC, customer_name DESC;<\/p>\n\n\n\n<p>\u3053\u306eSQL\u3067\u306f\u3001\u300ccustomer_id\u300d\u306e\u6607\u9806\u306b\u4e26\u3073\u66ff\u3048\u3066\u3001\u540c\u4e00\u306e\u300ccustomer_id\u300d\u306e\u30c7\u30fc\u30bf\u3092\u300ccustomer_name\u300d\u306e\u964d\u9806\u306b\u4e26\u3073\u66ff\u3048\u307e\u3059\u3002<\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-group is-stack is-vertical is-layout-flex wp-container-core-group-is-layout-9 wp-block-group-is-layout-flex\">\n<p>\u3067\u306f\u3053\u3053\u307e\u3067\u7d39\u4ecb\u3057\u305fSELECT ~ ORDER BY\u306e\u5168\u3066\u3092\u4f7f\u7528\u3059\u308b\u3068\u4f8b\u3048\u3070\u4ee5\u4e0b\u306e\u3088\u3046\u306aSQL\u304c\u5b9f\u884c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>SELECT age, COUNT(age), SUM(sales) FROM customer_table WHERE gender = &#8216;\u7537\u6027&#8217; GROUP BY age ORDER BY age ASC;<\/p>\n\n\n\n<p>\u3053\u306eSQL\u3067\u306f\u3001\u7537\u6027\u9867\u5ba2\u306e\u5e74\u9f62\u3001\u5e74\u9f62\u3054\u3068\u306e\u9867\u5ba2\u6570\u3001\u5e74\u9f62\u3054\u3068\u306e\u58f2\u4e0a\u306e\u5408\u8a08\u3092\u5e74\u9f62\u9806\u306b\u53d6\u5f97\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3053\u306e\u3088\u3046\u306bSELECT ~ ORDER BY\u306e\u57fa\u672c\u3092\u899a\u3048\u308c\u3070\u3001SQL\u3067\u5206\u6790\u3092\u59cb\u3081\u3089\u308c\u308b\u5b9f\u611f\u3092\u6301\u3063\u3066\u3044\u305f\u3060\u3051\u308b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">SQL\u306e\u5404\u69cb\u6587\u306e\u5b9f\u884c\u9806\u306b\u6ce8\u610f\uff01<\/h3>\n\n\n\n<div class=\"wp-block-group is-stack is-vertical is-layout-flex wp-container-core-group-is-layout-10 wp-block-group-is-layout-flex\">\n<p>SQL\u306e\u5404\u69cb\u6587\u306f\u8a18\u8ff0\u306e\u9806\u756a\u3068\u5b9f\u969b\u306b\u5b9f\u884c\u3055\u308c\u308b\u9806\u756a\u304c\u7570\u306a\u308b\u70b9\u306b\u6ce8\u610f\u3057\u3066\u304f\u3060\u3055\u3044\u3002SELECT ~ ORDER BY\u3060\u3068\u5b9f\u884c\u306e\u9806\u756a\u306f\u3001<\/p>\n\n\n\n<p>FROM \u2192 WHERE \u2192 GROUP BY \u2192 SELECT \u2192 ORDER BY\u3067\u3059\u3002<\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-group is-stack is-vertical is-layout-flex wp-container-core-group-is-layout-11 wp-block-group-is-layout-flex\">\n<p>\u65e5\u672c\u8a9e\u5316\u3059\u308b\u3068\u3001\u307e\u305aFROM\u3067\u5bfe\u8c61\u306e\u30c6\u30fc\u30d6\u30eb\u3092\u9078\u629e\u3057\u3066\u3001WHERE\u3067\u53d6\u5f97\u3059\u308b\u30c7\u30fc\u30bf\u306e\u6761\u4ef6\u3092\u6307\u5b9a\u3001\u6b21\u306bGROUP BY\u3067\u30b0\u30eb\u30fc\u30d7\u5316\u3001SELECT\u3067\u53d6\u5f97\u3059\u308b\u5217\u3092\u9078\u629e\u3001\u6700\u5f8c\u306bORDER BY\u3067\u30c7\u30fc\u30bf\u306e\u30bd\u30fc\u30c8\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u521d\u3081\u306e\u3046\u3061\u306f\u4f5c\u6210\u3057\u305fSQL\u306e\u5185\u5bb9\u3068\u5b9f\u884c\u9806\u3092\u3053\u306e\u3088\u3046\u306b\u8a00\u8449\u306b\u3057\u3066\u78ba\u8a8d\u3059\u308b\u3068\u826f\u3044\u3067\u3057\u3087\u3046\u3002<\/p>\n<\/div>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><a href=\"https:\/\/www.kuix.co.jp\/jorupa-for-enterprise\/?utm_source=DASYS&amp;utm_medium=DASYS&amp;utm_campaign=Kiji336\"><img decoding=\"async\" src=\"https:\/\/www.kuix.co.jp\/da-sys\/wp-content\/uploads\/2023\/06\/Blue-Data-Statistics-Facebook-Ad-3-1024x536.png\" alt=\"\" class=\"wp-image-705\" style=\"width:546px;height:286px\" width=\"546\" height=\"286\" srcset=\"https:\/\/www.kuix.co.jp\/da-sys\/wp-content\/uploads\/2023\/06\/Blue-Data-Statistics-Facebook-Ad-3-1024x536.png 1024w, https:\/\/www.kuix.co.jp\/da-sys\/wp-content\/uploads\/2023\/06\/Blue-Data-Statistics-Facebook-Ad-3-300x157.png 300w, https:\/\/www.kuix.co.jp\/da-sys\/wp-content\/uploads\/2023\/06\/Blue-Data-Statistics-Facebook-Ad-3-768x402.png 768w, https:\/\/www.kuix.co.jp\/da-sys\/wp-content\/uploads\/2023\/06\/Blue-Data-Statistics-Facebook-Ad-3.png 1200w\" sizes=\"(max-width: 546px) 100vw, 546px\" \/><\/a><\/figure><\/div>\n\n\n<h2 class=\"wp-block-heading\">BigQuery\u306eSQL\u30c1\u30fc\u30c8\u30b7\u30fc\u30c8<\/h2>\n\n\n\n<p>SELECT ~ ORDER BY\u3067\u57fa\u672c\u7684\u306a\u5206\u6790\u306f\u53ef\u80fd\u3067\u3059\u304c\u3001\u4e00\u65b9\u3067\u3053\u308c\u3089\u4ee5\u5916\u306b\u3082\u5206\u6790\u306b\u6d3b\u7528\u3067\u304d\u308bSQL\u69cb\u6587\u304c\u975e\u5e38\u306b\u591a\u69d8\u306a\u306e\u3082BigQuery\u306e\u7279\u5fb4\u3067\u3059\u3002\u3053\u3053\u304b\u3089\u306fSQL\u30c1\u30fc\u30c8\u30b7\u30fc\u30c8\u3068\u984c\u3057\u3066\u3001\u7b46\u8005\u304c\u5b9f\u696d\u52d9\u3067\u5f79\u306b\u7acb\u3063\u305f\u30fb\u591a\u7528\u3059\u308b\u69cb\u6587\u3092\u7d39\u4ecb\u3059\u308b\u306e\u3067\u3001\u662f\u975e\u4f7f\u3063\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">SELECT * EXCEPT ([\u9664\u5916\u5217])<\/h3>\n\n\n\n<div class=\"wp-block-group is-stack is-vertical is-layout-flex wp-container-core-group-is-layout-12 wp-block-group-is-layout-flex\">\n<p>SELECT\u6587\u3067\u7279\u5b9a\u306e\u5217\u4ee5\u5916\u306e\u5217\u3092\u53d6\u5f97\u3057\u305f\u3044\u5834\u5408\u306f\u3001SELECT * EXCEPT\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u4f8b\u3048\u3070\u3001SELECT * EXCEPT(customer_name, age) FROM customer_table;<\/p>\n\n\n\n<p>\u3053\u306eSQL\u3067\u306f\u300ccustomer_name\u300d\u3001\u300cage\u300d\u4ee5\u5916\u306e\u5217\u3092\u5168\u3066\u53d6\u5f97\u3057\u307e\u3059\u3002<\/p>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">\u73fe\u5728\u65e5\u4ed8\u3068\u3001+1\u65e5\u3001-1\u65e5\u306a\u3069\u65e5\u4ed8\u306e\u8a08\u7b97<\/h3>\n\n\n\n<p>\u65e5\u4ed8\u306b\u95a2\u3059\u308b\u69cb\u6587\u3067\u6700\u3082\u4f7f\u3046\u306e\u304c\u3001\u73fe\u5728\u65e5\u4ed8\u3068\u65e5\u4ed8\u306e\u6f14\u7b97\u3067\u3057\u3087\u3046\u3002\u305d\u308c\u305e\u308c\u3001<\/p>\n\n\n\n<div class=\"wp-block-group is-stack is-vertical is-layout-flex wp-container-core-group-is-layout-13 wp-block-group-is-layout-flex\">\n<p>\u73fe\u5728\u65e5\u4ed8\uff1aCURRENT_DATE(&#8216;Asia\/Tokyo&#8217;)<\/p>\n\n\n\n<p>\u73fe\u5728\u6642\u523b\uff1aDATETIME(CURRENT_TIMESTAMP, &#8216;Asia\/Tokyo&#8217;)<\/p>\n\n\n\n<p>+1\u65e5\uff1aDATE_ADD(CURRENT_DATE(&#8216;Asia\/Tokyo&#8217;), INTERVAL 1 DAY)<\/p>\n\n\n\n<p>&#8211; 1\u65e5\uff1aDATE_SUB(CURRENT_DATE(&#8216;Asia\/Tokyo&#8217;), INTERVAL 1 DAY)<\/p>\n<\/div>\n\n\n\n<p>\u3053\u306e\u69cb\u6587\u3067\u53d6\u5f97\u3067\u304d\u307e\u3059\u3002&#8217;Asia\/Tokyo&#8217;\u306f\u30bf\u30a4\u30e0\u30be\u30fc\u30f3\u3067\u3001\u4f55\u3082\u6307\u5b9a\u3057\u306a\u3044\u3068UTC\u6642\u9593\u306e\u65e5\u4ed8\u3092\u8fd4\u3055\u308c\u308b\u306e\u3067\u6307\u5b9a\u3059\u308b\u3088\u3046\u306b\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">CAST\u3067\u30c7\u30fc\u30bf\u578b\u3092\u5909\u66f4<\/h3>\n\n\n\n<div class=\"wp-block-group is-stack is-vertical is-layout-flex wp-container-core-group-is-layout-14 wp-block-group-is-layout-flex\">\n<p>\u5404\u5217\u306f\u30c7\u30fc\u30bf\u578b\u3068\u3044\u3063\u3066\u3001\u3042\u3089\u304b\u3058\u3081\u683c\u7d0d\u53ef\u80fd\u306a\u30c7\u30fc\u30bf\u306e\u5f62\u5f0f\u304c\u6c7a\u307e\u3063\u3066\u3044\u307e\u3059\u3002\u6570\u5024\u578b\u306b\u6587\u5b57\u5217\u306e\u30c7\u30fc\u30bf\u304c\u5165\u3063\u3066\u3044\u308b\uff01\u306a\u3069\u30a8\u30e9\u30fc\u3067\u6012\u3089\u308c\u306a\u3044\u3088\u3046\u306b\u3001CAST\u3067\u30c7\u30fc\u30bf\u578b\u3092\u5909\u66f4\u3067\u304d\u308b\u3068\u4fbf\u5229\u3067\u3059\u3002\u4f7f\u3044\u65b9\u306f\u3001<\/p>\n\n\n\n<p>\u4f8b\u3048\u3070\u3001CAST(sales_date_str as DATE) as sales_date<\/p>\n<\/div>\n\n\n\n<p>\u3053\u306e\u69cb\u6587\u3067\u306f\u300csales_date_str\u300d\u3068\u3044\u3046\u6587\u5b57\u5217\u578b\u306e\u5217\u3092\u300csales_date\u300d\u3068\u3044\u3046\u65e5\u4ed8\u578b\u306e\u5217\u306b\u578b\u5909\u63db\u3057\u3066\u3044\u307e\u3059\u3002\u5f53\u7136\u300csales_date_str\u300d\u306f\u65e5\u4ed8\u578b\u306b\u5909\u63db\u3067\u304d\u308b\u5f62\u5f0f\uff08yyyy-mm-dd\uff09\u306e\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u304c\u3001\u3053\u306e\u3088\u3046\u306b\u5909\u63db\u53ef\u80fd\u306a\u5f62\u5f0f\u3067\u3042\u308c\u3070\u7c21\u5358\u306bCAST\u3067\u578b\u5909\u63db\u3067\u304d\u308b\u306e\u3067\u899a\u3048\u3066\u304a\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u307e\u3068\u3081<\/h2>\n\n\n\n<p>BigQuery\u306eSQL\u306b\u3064\u3044\u3066\u3001\u5b9f\u306f\u57fa\u672c\u3092\u899a\u3048\u308c\u3070\u975e\u30a8\u30f3\u30b8\u30cb\u30a2\u3067\u3082\u59cb\u3081\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>SQL\u30c1\u30fc\u30c8\u30b7\u30fc\u30c8\u306b\u95a2\u3057\u3066\u306f\u5b9f\u306f\u307e\u3060\u307e\u3060\u3054\u7d39\u4ecb\u3057\u305f\u3044\u69cb\u6587\u304c\u3042\u308b\u306e\u3067\u3001\u5225\u8a18\u4e8b\u3067\u5185\u5bb9\u3092\u8ffd\u52a0\u3001\u30dc\u30ea\u30e5\u30fc\u30e0\u30a2\u30c3\u30d7\u3067\u304d\u308c\u3070\u3068\u601d\u3044\u307e\u3059\uff01<\/p>\n\n\n\n<p>\u6700\u5f8c\u307e\u3067\u304a\u8aad\u307f\u3044\u305f\u3060\u304d\u3042\u308a\u304c\u3068\u3046\u3054\u3056\u3044\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u682a\u5f0f\u4f1a\u793eKUIX\u3067\u306f\u305f\u3060\u5c0e\u5165\u30fb\u958b\u767a\u3059\u308b\u3060\u3051\u3067\u306a\u304f\u3001\u5c0e\u5165\u5f8c\u306e\u5229\u6d3b\u7528\u3092\u5b9f\u73fe\u3059\u308b\u3053\u3068\u306b\u7740\u773c\u3057\u305f\u3001BI\u30c4\u30fc\u30eb\u306e\u9078\u5b9a\u30fb\u5c0e\u5165\u304b\u3089\u30ec\u30dd\u30fc\u30c8\u4f5c\u6210\u3001\u904b\u7528\u3001\u5553\u8499\u30fb\u5c55\u958b\u307e\u3067\u30c8\u30fc\u30bf\u30eb\u306e\u30b3\u30f3\u30b5\u30eb\u30c6\u30fc\u30b7\u30e7\u30f3\u306a\u3069\u3092\u884c\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"wp-block-group is-stack is-vertical is-layout-flex wp-container-core-group-is-layout-15 wp-block-group-is-layout-flex\">\n<p><strong>\u300cBigQuery\/BI\u30c4\u30fc\u30eb\u3092\u5c0e\u5165\u3057\u305f\u3044\u300d<\/strong><\/p>\n\n\n\n<p><strong>\u300c\u3059\u3067\u306b\u5c0e\u5165\u3057\u3066\u3044\u308b\u304c\u30c7\u30fc\u30bf\u6d3b\u7528\u3001\u5c55\u958b\u304c\u9032\u3093\u3067\u3044\u306a\u3044\u300d\u306a\u3069<\/strong><\/p>\n<\/div>\n\n\n\n<p>\u304a\u56f0\u308a\u306e\u65b9\u306f\u3001\u305c\u3072\u304a\u6c17\u8efd\u306b\u3054\u9023\u7d61\u304f\u3060\u3055\u3044\uff01\u304a\u554f\u3044\u5408\u308f\u305b\u306f<a rel=\"noreferrer noopener\" href=\"https:\/\/www.kuix.co.jp\/da-sys\/?page_id=6\" target=\"_blank\">\u3053\u3061\u3089\u304b\u3089<\/a><\/p>\n\n\n\n<p><strong>BigQuery\u306eSQL\u30c1\u30fc\u30c8\u30b7\u30fc\u30c8<\/strong>\u3092<a href=\"https:\/\/www.kuix.co.jp\/da-sys\/?lp=\u8cc7\u6599\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9bigquery\u30c1\u30fc\u30c8\u30b7\u30fc\u30c8\">\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9<\/a><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><a href=\"https:\/\/www.home.smart-data-collector.com\/smart-data-collector-for-db?utm_source=DASYS&amp;utm_medium=DASYS&amp;utm_campaign=Kiji336\" target=\"_blank\" rel=\"noreferrer noopener\"><img decoding=\"async\" src=\"https:\/\/www.kuix.co.jp\/da-sys\/wp-content\/uploads\/2023\/05\/Blue-Data-Statistics-Facebook-Ad-2-1024x536.png\" alt=\"\" class=\"wp-image-565\" style=\"width:548px;height:287px\" width=\"548\" height=\"287\" srcset=\"https:\/\/www.kuix.co.jp\/da-sys\/wp-content\/uploads\/2023\/05\/Blue-Data-Statistics-Facebook-Ad-2-1024x536.png 1024w, https:\/\/www.kuix.co.jp\/da-sys\/wp-content\/uploads\/2023\/05\/Blue-Data-Statistics-Facebook-Ad-2-300x157.png 300w, https:\/\/www.kuix.co.jp\/da-sys\/wp-content\/uploads\/2023\/05\/Blue-Data-Statistics-Facebook-Ad-2-768x402.png 768w, https:\/\/www.kuix.co.jp\/da-sys\/wp-content\/uploads\/2023\/05\/Blue-Data-Statistics-Facebook-Ad-2.png 1200w\" sizes=\"(max-width: 548px) 100vw, 548px\" \/><\/a><\/figure><\/div>\n\n<div class=\"swell-block-postLink\">\t\t\t<div class=\"p-blogCard -internal\" data-type=\"type1\" data-onclick=\"clickLink\">\n\t\t\t\t<div class=\"p-blogCard__inner\">\n\t\t\t\t\t<span class=\"p-blogCard__caption\">\u3042\u308f\u305b\u3066\u8aad\u307f\u305f\u3044<\/span>\n\t\t\t\t\t<div class=\"p-blogCard__thumb c-postThumb\"><figure class=\"c-postThumb__figure\"><img decoding=\"async\" src=\"https:\/\/www.kuix.co.jp\/da-sys\/wp-content\/uploads\/2023\/04\/\u6771\u5c71\u4e2d\u592e\u9280\u884c-\u4eba\u4e8b\u62c5\u5f53\u526f\u793e-3-1-300x169.jpg\" alt=\"\" class=\"c-postThumb__img u-obf-cover\" width=\"320\" height=\"180\"><\/figure><\/div>\t\t\t\t\t<div class=\"p-blogCard__body\">\n\t\t\t\t\t\t<a class=\"p-blogCard__title\" href=\"https:\/\/www.kuix.co.jp\/da-sys\/?p=319\" target=\"_blank\" rel=\"noopener noreferrer\">BigQuery\u3068\u306f\uff1f\u3067\u304d\u308b\u3053\u3068\u3084\u6d3b\u7528\u4e8b\u4f8b\u3092\u308f\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\uff01<\/a>\n\t\t\t\t\t\t<span class=\"p-blogCard__excerpt\">\u300c\u69d8\u3005\u306a\u7d4c\u55b6\u30c7\u30fc\u30bf\u3092\u53ef\u8996\u5316\u3057\u3066\u30c7\u30fc\u30bf\u30c9\u30ea\u30d6\u30f3\u306a\u7d4c\u55b6\u3092\u884c\u304a\u3046\uff01\u300d \u3068\u3044\u3046\u6628\u4eca\u306eDX\u63a8\u9032\u306e\u6d41\u308c\u306e\u4e2d\u3067\u3001\u5b9f\u969b\u306b\u3069\u306e\u30c7\u30fc\u30bf\u57fa\u76e4\u306b\u793e\u5185\u306e\u30c7\u30fc\u30bf\u3092\u96c6\u7d04\u3059\u308b\u304b\u60a9\u307e\u308c\u305f\u3054\u7d4c\u9a13\u306f&#8230;<\/span>\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t<\/div>\n\n<div class=\"swell-block-postLink\">\t\t\t<div class=\"p-blogCard -internal\" data-type=\"type1\" data-onclick=\"clickLink\">\n\t\t\t\t<div class=\"p-blogCard__inner\">\n\t\t\t\t\t<span class=\"p-blogCard__caption\">\u3042\u308f\u305b\u3066\u8aad\u307f\u305f\u3044<\/span>\n\t\t\t\t\t<div class=\"p-blogCard__thumb c-postThumb\"><figure class=\"c-postThumb__figure\"><img decoding=\"async\" src=\"https:\/\/www.kuix.co.jp\/da-sys\/wp-content\/uploads\/2023\/04\/\u6771\u5c71\u4e2d\u592e\u9280\u884c-\u4eba\u4e8b\u62c5\u5f53\u526f\u793e-3-2-300x169.jpg\" alt=\"\" class=\"c-postThumb__img u-obf-cover\" width=\"320\" height=\"180\"><\/figure><\/div>\t\t\t\t\t<div class=\"p-blogCard__body\">\n\t\t\t\t\t\t<a class=\"p-blogCard__title\" href=\"https:\/\/www.kuix.co.jp\/da-sys\/?p=327\" target=\"_blank\" rel=\"noopener noreferrer\">Python\u3067BigQuery\u3078\u306e\u30a2\u30af\u30bb\u30b9\u3001\u30c7\u30fc\u30bf\u64cd\u4f5c\u3092\u884c\u3046\u65b9\u6cd5<\/a>\n\t\t\t\t\t\t<span class=\"p-blogCard__excerpt\">BigQuery\u3092DWH\u3068\u3057\u3066\u6d3b\u7528\u3059\u308b\u5834\u5408\u3001 \u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3084\u30d0\u30c3\u30c1\u30d7\u30ed\u30b0\u30e9\u30e0\u304b\u3089BigQuery\u306b\u30a2\u30af\u30bb\u30b9\u3057\u3066\u30c7\u30fc\u30bf\u3092\u53d6\u308a\u51fa\u3057\u305f\u308a\u3001\u66f4\u65b0\u3092\u884c\u3048\u305f\u3089\u4fbf\u5229\u3067\u3059\u3088\u306d\u3002 \u672c\u8a18\u4e8b\u3067\u306f\u7279&#8230;<\/span>\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t<\/div>\n\n<div class=\"swell-block-postLink\">\t\t\t<div class=\"p-blogCard -internal\" data-type=\"type1\" data-onclick=\"clickLink\">\n\t\t\t\t<div class=\"p-blogCard__inner\">\n\t\t\t\t\t<span class=\"p-blogCard__caption\">\u3042\u308f\u305b\u3066\u8aad\u307f\u305f\u3044<\/span>\n\t\t\t\t\t<div class=\"p-blogCard__thumb c-postThumb\"><figure class=\"c-postThumb__figure\"><img decoding=\"async\" src=\"https:\/\/www.kuix.co.jp\/da-sys\/wp-content\/uploads\/2023\/04\/\u6771\u5c71\u4e2d\u592e\u9280\u884c-\u4eba\u4e8b\u62c5\u5f53\u526f\u793e-3-5-300x169.jpg\" alt=\"\" class=\"c-postThumb__img u-obf-cover\" width=\"320\" height=\"180\"><\/figure><\/div>\t\t\t\t\t<div class=\"p-blogCard__body\">\n\t\t\t\t\t\t<a class=\"p-blogCard__title\" href=\"https:\/\/www.kuix.co.jp\/da-sys\/?p=346\" target=\"_blank\" rel=\"noopener noreferrer\">BigQuery\u306eIF\u6587\u306b\u3088\u308b\u6761\u4ef6\u5206\u5c90\u3084\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u51e6\u7406\u3092\u89e3\u8aac\uff01<\/a>\n\t\t\t\t\t\t<span class=\"p-blogCard__excerpt\">BigQuery\u306eSQL\u3067\u3001IF\u6587\u306b\u3088\u308b\u6761\u4ef6\u5206\u5c90\u306a\u3069\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u3088\u3046\u306a\u51e6\u7406\u304c\u3067\u304d\u305f\u3089\u4fbf\u5229\u3067\u3059\u3088\u306d\u3002 \u672c\u8a18\u4e8b\u3067\u306f\u3001IF\u6587\u3084CASE\u5f0f\u306b\u3088\u308a\u6761\u4ef6\u5206\u5c90\u3092\u3059\u308b\u65b9\u6cd5\u3068\u3001\u8907\u6570\u306e\u30af\u30a8\u30ea\u3092\u30c8\u30e9&#8230;<\/span>\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t<\/div>","protected":false},"excerpt":{"rendered":"<p>BigQuery\u3092\u5c0e\u5165\u3057\u3066\u30c7\u30fc\u30bf\u306e\u84c4\u7a4d\u3092\u59cb\u3081\u305f\u306e\u306b\u3001\u5206\u6790\u8a00\u8a9e\u306eSQL\u304c\u3044\u307e\u3044\u3061\u308f\u304b\u3089\u306a\u3044 \u3068\u304a\u60a9\u307f\u306e\u65b9\u306f\u591a\u3044\u306e\u3067\u306f\u306a\u3044\u3067\u3057\u3087\u3046\u304b\u3002 SQL\u306f\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u672a\u5c65\u4fee\u306e\u30de\u30fc\u30b1\u30bf\u30fc\u306e\u65b9\u3067\u3082\u57fa\u672c\u3092\u899a\u3048\u308c\u3070\u3001\u5341\u5206\u306b\u5206\u6790\u3092\u59cb\u3081\u3089\u308c\u308b\u3088 [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":345,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"swell_btn_cv_data":"","footnotes":""},"categories":[7],"tags":[],"_links":{"self":[{"href":"https:\/\/www.kuix.co.jp\/da-sys\/index.php?rest_route=\/wp\/v2\/posts\/336"}],"collection":[{"href":"https:\/\/www.kuix.co.jp\/da-sys\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.kuix.co.jp\/da-sys\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.kuix.co.jp\/da-sys\/index.php?rest_route=\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.kuix.co.jp\/da-sys\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=336"}],"version-history":[{"count":11,"href":"https:\/\/www.kuix.co.jp\/da-sys\/index.php?rest_route=\/wp\/v2\/posts\/336\/revisions"}],"predecessor-version":[{"id":1176,"href":"https:\/\/www.kuix.co.jp\/da-sys\/index.php?rest_route=\/wp\/v2\/posts\/336\/revisions\/1176"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.kuix.co.jp\/da-sys\/index.php?rest_route=\/wp\/v2\/media\/345"}],"wp:attachment":[{"href":"https:\/\/www.kuix.co.jp\/da-sys\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=336"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.kuix.co.jp\/da-sys\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=336"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.kuix.co.jp\/da-sys\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=336"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}