{"id":3276,"date":"2025-12-19T15:11:47","date_gmt":"2025-12-19T06:11:47","guid":{"rendered":"https:\/\/www.agile-software.site\/?p=3276"},"modified":"2025-12-19T15:16:57","modified_gmt":"2025-12-19T06:16:57","slug":"snowflake-copilot%e3%81%ab%e3%81%a7%e3%81%8d%e3%82%8b%e3%81%93%e3%81%a8","status":"publish","type":"post","link":"https:\/\/agile-software.net\/?p=3276","title":{"rendered":"Snowflake Copilot\u306b\u3067\u304d\u308b\u3053\u3068"},"content":{"rendered":"\n<h3 class=\"wp-block-heading\">1. \u30c6\u30fc\u30d6\u30eb\u628a\u63e1\u3068\u4e26\u3079\u66ff\u3048\uff08ORDER BY\uff09\u306e\u5b9f\u884c<\/h3>\n\n\n\n<p>Copilot\u306f\u3001\u9078\u629e\u3055\u308c\u3066\u3044\u308b\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3084\u30b9\u30ad\u30fc\u30de\u5185\u306e\u30c6\u30fc\u30d6\u30eb\u5b9a\u7fa9\uff08\u5217\u540d\u3001\u30c7\u30fc\u30bf\u578b\u306a\u3069\uff09\u3092\u53c2\u7167\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u6307\u793a\u306e\u4f8b<\/strong>: \u300cSALES\u30c6\u30fc\u30d6\u30eb\u304b\u3089\u58f2\u4e0a\u304c\u9ad8\u3044\u9806\uff08\u964d\u9806\uff09\u306bTOP10\u3092\u51fa\u3057\u3066\u300d<\/li>\n\n\n\n<li><strong>\u751f\u6210\u3055\u308c\u308bSQL<\/strong>:<\/li>\n<\/ul>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>SELECT * FROM SALES \nORDER BY AMOUNT DESC \nLIMIT 10;<\/code><\/pre><\/div>\n\n\n\n<p>\u3053\u306e\u3088\u3046\u306b\u3001\u30ab\u30e9\u30e0\u540d\uff08<code>AMOUNT<\/code>\u306a\u3069\uff09\u3092\u81ea\u52d5\u3067\u7279\u5b9a\u3057\u3001\u9069\u5207\u306a <code>ORDER BY<\/code> \u53e5\u3092\u7d44\u307f\u7acb\u3066\u3066\u304f\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">2. Snowflake Copilot\u306b\u3067\u304d\u308b\u3053\u3068\uff08\u4e3b\u306a\u6a5f\u80fd\uff09<\/h3>\n\n\n\n<p>SQL\u751f\u6210\u4ee5\u5916\u306b\u3082\u3001\u30c7\u30fc\u30bf\u5206\u6790\u306e\u5168\u5de5\u7a0b\u3092\u30b5\u30dd\u30fc\u30c8\u3059\u308b\u591a\u5f69\u306a\u6a5f\u80fd\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><td><strong>\u6a5f\u80fd<\/strong><\/td><td><strong>\u5185\u5bb9<\/strong><\/td><\/tr><\/thead><tbody><tr><td><strong>\u30c7\u30fc\u30bf\u306e\u63a2\u7d22<\/strong><\/td><td>\u300c\u3053\u306e\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u306b\u306f\u3069\u3093\u306a\u60c5\u5831\u304c\u5165\u3063\u3066\u3044\u308b\uff1f\u300d\u300c\u30c6\u30fc\u30d6\u30eb\u540c\u58eb\u306e\u95a2\u9023\u6027\u306f\uff1f\u300d\u3068\u3044\u3063\u305f\u8cea\u554f\u306b\u81ea\u7136\u8a00\u8a9e\u3067\u56de\u7b54\u3057\u307e\u3059\u3002<\/td><\/tr><tr><td><strong>SQL\u306e\u89e3\u8aac<\/strong><\/td><td>\u8907\u96d1\u306a\uff08\u4ed6\u4eba\u304c\u66f8\u3044\u305f\uff09SQL\u3092\u8cbc\u308a\u4ed8\u3051\u3066\u300c\u3053\u306e\u30af\u30a8\u30ea\u306f\u4f55\u3092\u3057\u3066\u3044\u308b\u306e\uff1f\u300d\u3068\u805e\u304f\u3068\u3001\u30b9\u30c6\u30c3\u30d7\u3054\u3068\u306b\u65e5\u672c\u8a9e\u3067\u89e3\u8aac\u3057\u3066\u304f\u308c\u307e\u3059\u3002<\/td><\/tr><tr><td><strong>\u30af\u30a8\u30ea\u306e\u4fee\u6b63\u30fb\u6700\u9069\u5316<\/strong><\/td><td>\u30a8\u30e9\u30fc\u304c\u51fa\u308bSQL\u306b\u5bfe\u3057\u3066\u300c\u3069\u3053\u304c\u9593\u9055\u3063\u3066\u3044\u308b\uff1f\u300d\u3068\u805e\u3051\u3070\u4fee\u6b63\u6848\u3092\u51fa\u3057\u3001\u52b9\u7387\u306e\u60aa\u3044\u30af\u30a8\u30ea\u306b\u306f\u300c\u3082\u3063\u3068\u901f\u304f\u3059\u308b\u65b9\u6cd5\u306f\uff1f\u300d\u3068\u805e\u3051\u3070\u6700\u9069\u5316\u6848\uff08\u30af\u30e9\u30b9\u30bf\u30fc\u30ad\u30fc\u306e\u63d0\u6848\u306a\u3069\uff09\u3092\u51fa\u3057\u307e\u3059\u3002<\/td><\/tr><tr><td><strong>\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u691c\u7d22<\/strong><\/td><td>\u300cSnowflake\u3067\u30c6\u30fc\u30d6\u30eb\u3092\u30af\u30ed\u30fc\u30f3\u3059\u308b\u65b9\u6cd5\u306f\uff1f\u300d\u306a\u3069\u3001\u516c\u5f0f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u306b\u57fa\u3065\u3044\u305f\u6b63\u78ba\u306a\u4f7f\u3044\u65b9\u306e\u30ac\u30a4\u30c9\u3092\u3057\u3066\u304f\u308c\u307e\u3059\u3002<\/td><\/tr><tr><td><strong>Snowpark\/Python\u30b5\u30dd\u30fc\u30c8<\/strong><\/td><td>\u30ce\u30fc\u30c8\u30d6\u30c3\u30af\u3092\u4f7f\u7528\u3057\u3066\u3044\u308b\u5834\u5408\u3001Python\u30b3\u30fc\u30c9\uff08Snowpark\uff09\u306e\u751f\u6210\u3084\u30c7\u30d0\u30c3\u30b0\u3082\u624b\u4f1d\u3063\u3066\u304f\u308c\u307e\u3059\u3002<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">3. \u4f7f\u3044\u3053\u306a\u3057\u306e\u30b3\u30c4\uff1a <code>@<\/code> \u3092\u6d3b\u7528\u3059\u308b<\/h3>\n\n\n\n<p>Copilot\u3068\u306e\u30c1\u30e3\u30c3\u30c8\u5185\u3067 <strong><code>@<\/code><\/strong> \u3092\u5165\u529b\u3059\u308b\u3068\u3001\u30c6\u30fc\u30d6\u30eb\u540d\u3084\u30d3\u30e5\u30fc\u540d\u3092\u88dc\u5b8c\u5019\u88dc\u3068\u3057\u3066\u51fa\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002 \u300c<code>@SALES<\/code> \u30c6\u30fc\u30d6\u30eb\u3092\u4f7f\u3063\u3066\u3001<code>@PRODUCT_NAME<\/code> \u3054\u3068\u306e\u5408\u8a08\u3092\u8a08\u7b97\u3057\u3066\u300d\u306e\u3088\u3046\u306b\u5177\u4f53\u7684\u306b\u6307\u5b9a\u3059\u308b\u3068\u3001\u751f\u6210\u306e\u7cbe\u5ea6\u304c\u5287\u7684\u306b\u4e0a\u304c\u308a\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>1. \u30c6\u30fc\u30d6\u30eb\u628a\u63e1\u3068\u4e26\u3079\u66ff\u3048\uff08ORDER BY\uff09\u306e\u5b9f\u884c Copilot\u306f\u3001\u9078\u629e\u3055\u308c\u3066\u3044\u308b\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3084\u30b9\u30ad\u30fc\u30de\u5185\u306e\u30c6\u30fc\u30d6\u30eb\u5b9a\u7fa9\uff08\u5217\u540d\u3001\u30c7\u30fc\u30bf\u578b\u306a\u3069\uff09\u3092\u53c2\u7167\u3067\u304d\u307e\u3059\u3002 \u3053\u306e\u3088\u3046\u306b\u3001\u30ab\u30e9\u30e0\u540d\uff08AMOUNT\u306a\u3069\uff09\u3092\u81ea\u52d5\u3067\u7279\u5b9a\u3057<\/p>\n","protected":false},"author":1,"featured_media":3282,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jin_ogp_image_url":"","_jin_last_featured_id":0,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-3276","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/agile-software.net\/index.php?rest_route=\/wp\/v2\/posts\/3276","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/agile-software.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/agile-software.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/agile-software.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/agile-software.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3276"}],"version-history":[{"count":1,"href":"https:\/\/agile-software.net\/index.php?rest_route=\/wp\/v2\/posts\/3276\/revisions"}],"predecessor-version":[{"id":3281,"href":"https:\/\/agile-software.net\/index.php?rest_route=\/wp\/v2\/posts\/3276\/revisions\/3281"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/agile-software.net\/index.php?rest_route=\/wp\/v2\/media\/3282"}],"wp:attachment":[{"href":"https:\/\/agile-software.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3276"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/agile-software.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3276"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/agile-software.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3276"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}