{"id":1802,"date":"2018-03-27T10:18:34","date_gmt":"2018-03-27T01:18:34","guid":{"rendered":"http:\/\/www.dbsheetclient.jp\/blog\/?p=1802"},"modified":"2018-06-27T15:32:18","modified_gmt":"2018-06-27T06:32:18","slug":"over%e5%8f%a5%e3%81%aerows%ef%bc%88sql-server%ef%bc%89","status":"publish","type":"post","link":"https:\/\/www.dbsheetclient.jp\/blog\/?p=1802","title":{"rendered":"OVER\u53e5\u306eROWS\uff08SQL Server\uff09"},"content":{"rendered":"<p>IT\u30b3\u30fc\u30c7\u30a3\u30cd\u30fc\u30bf\u306e\u30b7\u30e5\u30a6\u3067\u3059\u3002<\/p>\n<p><a href=\"https:\/\/www.dbsheetclient.jp\/blog\/wp-content\/uploads\/2018\/03\/IMG_1284.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-1803\" src=\"https:\/\/www.dbsheetclient.jp\/blog\/wp-content\/uploads\/2018\/03\/IMG_1284-300x225.jpg\" alt=\"IMG_1284\" width=\"300\" height=\"225\" srcset=\"https:\/\/www.dbsheetclient.jp\/blog\/wp-content\/uploads\/2018\/03\/IMG_1284-300x225.jpg 300w, https:\/\/www.dbsheetclient.jp\/blog\/wp-content\/uploads\/2018\/03\/IMG_1284-1024x768.jpg 1024w, https:\/\/www.dbsheetclient.jp\/blog\/wp-content\/uploads\/2018\/03\/IMG_1284.jpg 2016w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>2018\u5e74\u3082\u3001\u3042\u3063\u3068\u3044\u3046\u9593\u306b3\u6708\u306e\u6700\u5f8c\u306e\u9031\u3092\u8fce\u3048\u307e\u3057\u305f\u3002<br \/>\u3053\u3053\u3057\u3070\u3089\u304f\u3001\u958b\u767a\u306e\u6848\u4ef6\u304c\u5fd9\u3057\u304f\u3001\u30d6\u30ed\u30b0\u306e\u539f\u7a3f\u3092\u4f5c\u308b\u6642\u9593\u304c\u53d6\u308c\u307e\u305b\u3093\u3067\u3057\u305f\u3002<br \/>\u591a\u5c11\u843d\u3061\u7740\u3044\u3066\u304d\u305f\u306e\u3067\u3001\u4e45\u3057\u3076\u308a\u306b\u66f8\u3044\u3066\u3044\u307e\u3059\u3002\u4e0a\u306e\u5199\u771f\u306f\u3001\u4f11\u307f\u306e\u65e5\u306b\u606f\u5b50\u3068\u795e\u5948\u5ddd\u306e\u307b\u3046\u306b\u884c\u304f\u6a5f\u4f1a\u304c\u3042\u308a\u3001\u685c\u304c\u6e80\u958b\u306b\u306a\u3063\u3066\u3044\u305f\u306e\u3067\u5199\u771f\u3092\u64ae\u3063\u3066\u304d\u307e\u3057\u305f\u3002\u3084\u306f\u308a\u57fc\u7389\u306b\u6bd4\u3079\u308b\u3068\u3001\u5c11\u3057\u795e\u5948\u5ddd\u306e\u307b\u3046\u304c\u6696\u304b\u3044\u6c17\u304c\u3057\u307e\u3059\u3057\u3001\u685c\u3082\u958b\u82b1\u304c\u65e9\u3044\u3067\u3059\u306d\uff01<br \/>\u4e45\u3057\u3076\u308a\u306b\u9577\u7537\u3068\u4e8c\u4eba\u304d\u308a\u3067\u96fb\u8eca\u306b\u4e57\u3063\u305f\u308a\u3001\u6b69\u3044\u305f\u308a\u3057\u3066\u904e\u3054\u3057\u307e\u3057\u305f\u3002\u4eca\u5ea6\u9ad8\u6821\u306b\u5165\u5b66\u3057\u307e\u3059\u304c\u3001\u3044\u3064\u306e\u9593\u306b\u304b\u6210\u9577\u3057\u3066\u3044\u308b\u606f\u5b50\u3092\u898b\u3066\u3001\u7121\u4e8b\u306b\u80b2\u3063\u3066\u304f\u308c\u3066\u3068\u3066\u3082\u611f\u8b1d\u306e\u6c17\u6301\u3061\u304c\u6e67\u3044\u3066\u304d\u307e\u3057\u305f\u3002\u3053\u308c\u304b\u3089\u3044\u308d\u3044\u308d\u3068\u3076\u3064\u304b\u308b\u58c1\u3084\u8ab2\u984c\u3082\u51fa\u3066\u304f\u308b\u3068\u601d\u3046\u3051\u308c\u3069\u3001\u9811\u5f35\u3063\u3066\u4e57\u308a\u8d8a\u3048\u3066\u307b\u3057\u3044\u3067\u3059\u3002<\/p>\n<p>\u305d\u308c\u304b\u3089\u3001dbSheetClient\u306e\u5449\u4fe1\u7528\u91d1\u5eab\u69d8\u306e\u4e8b\u4f8b\u304c\u30a2\u30c3\u30d7\u3055\u308c\u3066\u3044\u307e\u3059\u3002<br \/>Excel I\/F\u306e\u5404\u7a2e\u696d\u52d9\u3092dbSheetClient\u3092\u4f7f\u3063\u3066\u3001<br \/>\u5727\u5012\u7684\u306a\u51e6\u7406\u30b9\u30d4\u30fc\u30c9\u306e\u5411\u4e0a\u3092\u5b9f\u73fe\uff01\uff0810\u5206\u4ee5\u4e0a\u304c\u77ac\u6642\u306b\uff09<br \/>\u30c8\u30c3\u30d7\u30de\u30cd\u30b8\u30e1\u30f3\u30c8\u3092\u542b\u3081\u3066\u5168\u793e\u54e1\uff08\u7d04650\u540d\uff09\u304c\u5229\u7528\uff01<br \/>\u8208\u5473\u306e\u3042\u308b\u65b9\u306f\u4ee5\u4e0b\u3092\u3054\u53c2\u7167\u304f\u3060\u3055\u3044\u3002<br \/><a href=\"https:\/\/www.newcom07.jp\/dbsheetclient\/usrvoice\/kure_shinkin.html\">https:\/\/www.newcom07.jp\/dbsheetclient\/usrvoice\/kure_shinkin.html<\/a><\/p>\n<p>\u00a0<strong>\uff1c\u672c\u65e5\u306e\u984c\u6750\uff1e<\/strong><br \/><strong>OVER\u53e5\u306eROWS\uff08SQL Server\uff09<\/strong><a href=\"https:\/\/www.newcom07.jp\/dbsheetclient\/usrvoice\/kure_shinkin.htmll\"><\/p>\n<p><\/a>\u4ee5\u524d\u3001\u3053\u306e\u30d6\u30ed\u30b0\u3067\u3082<a href=\"https:\/\/www.dbsheetclient.jp\/blog\/?p=268\">\u300cRANK, DENSE_RANK\u300d<\/a>\u3068\u3044\u3046\u984c\u76ee\u3067\u3001\u30e9\u30f3\u30ad\u30f3\u30b0\u95a2\u6570\u306e\u4e2d\u3067OVER\u53e5\u3092\u4f7f\u3063\u305f\u5185\u5bb9\u3092\u984c\u6750\u3068\u3057\u3066\u53d6\u308a\u4e0a\u3052\u307e\u3057\u305f\u304c\u3001OVER\u53e5\u3068\u4e00\u7dd2\u306b\u4f7f\u7528\u3059\u308b\u5f15\u6570\u306b\u3001ROWS\u53e5\u3068\u3044\u3046\u3082\u306e\u304c\u3042\u308a\u3001\u884c\u306e\u8a08\u7b97\u5bfe\u8c61\u3092\u6307\u5b9a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3068\u3044\u3046\u6a5f\u80fd\u304c\u3042\u308a\u307e\u3057\u305f\u306e\u3067\u3001\u4eca\u56de\u3001\u305d\u308c\u3092\u53d6\u308a\u4e0a\u3052\u3066\u307f\u307e\u3059\u3002\u3053\u308c\u306f\u3001SQL Server 2012\u304b\u3089\u306e\u6a5f\u80fd\u3067\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u8a18\u8ff0\u3067\u7bc4\u56f2\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<p>OVER (PARTITION BY \u9805\u76ee\u540d1<br \/>\u00a0 \u00a0 \u00a0ORDER BY \u9805\u76ee\u540d2<br \/>\u00a0 \u00a0 \u00a0ROWS BETWEEN A AND B<br \/>\u00a0 \u00a0 \u00a0)<\/p>\n<p>\u4e0a\u8a18\u306e\u66f8\u304d\u65b9\u3067\u3001\u9805\u76ee\u540d1\u6bce\u306b\u30b0\u30eb\u30fc\u30d7\u5316\u3057\u306a\u304c\u3089\u3001\u9805\u76ee\u540d2\u306e\u4e26\u3073\u9806\u3067\u3001A\u304b\u3089B\u306e\u7bc4\u56f2\u5185\u3067\u306e\u62bd\u51fa\u7d50\u679c\u3092\u8868\u793a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\uff08PARTITION BY\u53e5\u3001ORDER BY\u53e5\u3001ROWS\u53e5\u306f\u5fc5\u8981\u306a\u3068\u304d\u306e\u307f\u6307\u5b9a\u3057\u307e\u3059\uff09<\/p>\n<p>\u3053\u306e\u3068\u304d\u306e\u3001A\u3001B\u306e\u8a18\u8ff0\u306e\u4ed5\u65b9\u306b\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u3082\u306e\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>CURRENT ROW<br \/>\u00a0 &#8212; \u73fe\u5728\u306e\u884c<br \/>n PRECEDING<br \/>\u00a0 &#8212; \u73fe\u5728\u306e\u884c\u304b\u3089n\u884c\u524d<br \/>n FOLLOWING<br \/>\u00a0 &#8212; \u73fe\u5728\u306e\u884c\u304b\u3089 n \u884c\u5f8c<br \/>UNBOUNDED PRECEDING<br \/>\u00a0 &#8212; \u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u306e\u6700\u521d\u306e\u884c<br \/>UNBOUNDED FOLLOWING<br \/>\u00a0 &#8212; \u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u306e\u6700\u5f8c\u306e\u884c<\/p>\n<p>\u4f8b\uff09\u4eca\u56de\u306f\u3001\u5e73\u660c\u30aa\u30ea\u30f3\u30d4\u30c3\u30af\u3067\u65e5\u672c\u4e2d\u304c\u76db\u308a\u4e0a\u304c\u3063\u305f\u3053\u3068\u304b\u3089\u3001\u30aa\u30ea\u30f3\u30d4\u30c3\u30af\u3067\u65e5\u672c\u304c\u53d6\u3063\u305f\u30e1\u30c0\u30eb\u6570\u3092\u30c7\u30fc\u30bf\u306b\u3057\u305f\u3082\u306e\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<p>\u30c6\u30fc\u30d6\u30eb\u306f\u4ee5\u4e0b\u306e\u5b9a\u7fa9\uff1a<br \/>CREATE TABLE DBO.\u30e1\u30c0\u30eb\u6570(<br \/> \u5b63\u7bc0\u00a0 VARCHAR(4)<br \/>,\u5e74\u00a0\u00a0\u00a0 DECIMAL(4)<br \/>,\u30e1\u30c0\u30eb\u8272 VARCHAR(2)<br \/>,\u500b\u6570\u00a0\u00a0\u00a0\u00a0 INT<br \/>,CONSTRAINT pk_\u30e1\u30c0\u30eb\u6570 PRIMARY KEY (\u5b63\u7bc0,\u5e74,\u30e1\u30c0\u30eb\u8272));<\/p>\n<p>\u3053\u306e\u30c6\u30fc\u30d6\u30eb\u306b\u3001\u590f\u5b63\u3001\u51ac\u5b63\u306e\u65e5\u672c\u304c\u53d6\u3063\u305f\u30e1\u30c0\u30eb\u6570\u3092\u767b\u9332\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n<p>INSERT INTO dbo.\u30e1\u30c0\u30eb\u6570 VALUES(&#8216;\u590f\u5b63&#8217;,1912,&#8217;\u91d1&#8217;,0);<br \/>INSERT INTO dbo.\u30e1\u30c0\u30eb\u6570 VALUES(&#8216;\u590f\u5b63&#8217;,1912,&#8217;\u9280&#8217;,0);<br \/>INSERT INTO dbo.\u30e1\u30c0\u30eb\u6570 VALUES(&#8216;\u590f\u5b63&#8217;,1912,&#8217;\u9285&#8217;,0);<br \/>\u00a0<br \/>INSERT INTO dbo.\u30e1\u30c0\u30eb\u6570 VALUES(&#8216;\u590f\u5b63&#8217;,1920,&#8217;\u91d1&#8217;,0);<br \/>INSERT INTO dbo.\u30e1\u30c0\u30eb\u6570 VALUES(&#8216;\u590f\u5b63&#8217;,1920,&#8217;\u9280&#8217;,2);<br \/>INSERT INTO dbo.\u30e1\u30c0\u30eb\u6570 VALUES(&#8216;\u590f\u5b63&#8217;,1920,&#8217;\u9285&#8217;,0);<br \/>\u2026<br \/>&#8211;\u9014\u4e2d\u7701\u7565<br \/>INSERT INTO dbo.\u30e1\u30c0\u30eb\u6570 VALUES(&#8216;\u51ac\u5b63&#8217;,2014,&#8217;\u91d1&#8217;,1);<br \/>INSERT INTO dbo.\u30e1\u30c0\u30eb\u6570 VALUES(&#8216;\u51ac\u5b63&#8217;,2014,&#8217;\u9280&#8217;,4);<br \/>INSERT INTO dbo.\u30e1\u30c0\u30eb\u6570 VALUES(&#8216;\u51ac\u5b63&#8217;,2014,&#8217;\u9285&#8217;,3);<\/p>\n<p>INSERT INTO dbo.\u30e1\u30c0\u30eb\u6570 VALUES(&#8216;\u51ac\u5b63&#8217;,2018,&#8217;\u91d1&#8217;,4);<br \/>INSERT INTO dbo.\u30e1\u30c0\u30eb\u6570 VALUES(&#8216;\u51ac\u5b63&#8217;,2018,&#8217;\u9280&#8217;,5);<br \/>INSERT INTO dbo.\u30e1\u30c0\u30eb\u6570 VALUES(&#8216;\u51ac\u5b63&#8217;,2018,&#8217;\u9285&#8217;,4);<\/p>\n<p>\u590f\u5b63\u3001\u51ac\u5b63\u305d\u308c\u305e\u308c\u306e\u3001\u5404\u5e74\u6bce\u3001\u30e1\u30c0\u30eb\u8272\u6bce\u306e\u30e1\u30c0\u30eb\u6570\u3068\u3001\u76f4\u8fd13\u56de\u306e\u30e1\u30c0\u30eb\u8272\u6bce\u306e\u5408\u8a08\u6570\u3001\u5e73\u5747\u6570\u3092\u62bd\u51fa\u3057\u3001\u5e74\u306e\u65b0\u3057\u3044\u9806\u306b\u62bd\u51fa\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n<p>SELECT<br \/>\u00a0 \u5b63\u7bc0<br \/> ,\u5e74<br \/> ,\u30e1\u30c0\u30eb\u8272<br \/> ,\u500b\u6570<br \/> ,SUM(\u500b\u6570)<br \/>\u00a0 \u00a0 OVER (PARTITION BY \u5b63\u7bc0,\u30e1\u30c0\u30eb\u8272<br \/>\u00a0 \u00a0 \u00a0 ORDER BY \u5e74<br \/>\u00a0 \u00a0 \u00a0 ROWS BETWEEN 2 PRECEDING AND CURRENT ROW \u00a0<br \/>\u00a0\u3000\u3000&#8211; \u73fe\u5728\u306e\u884c\u304b\u30892\u884c\u524d\u304b\u3089\u73fe\u5728\u884c\u307e\u3067\u306e3\u884c\u5206<br \/>\u00a0 \u00a0 \u00a0 ) AS \u76f4\u8fd13\u56de\u306e\u5408\u8a08\u500b\u6570<br \/> ,AVG(\u500b\u6570)<br \/>\u00a0 \u00a0 OVER (PARTITION BY \u5b63\u7bc0,\u30e1\u30c0\u30eb\u8272<br \/>\u00a0 \u00a0 \u00a0 ORDER BY \u5e74<br \/>\u00a0 \u00a0 \u00a0 ROWS BETWEEN 2 PRECEDING AND CURRENT ROW <br \/>\u00a0\u3000\u3000 &#8212; \u73fe\u5728\u306e\u884c\u304b\u30892\u884c\u524d\u304b\u3089\u73fe\u5728\u884c\u307e\u3067\u306e3\u884c\u5206<br \/>\u00a0 \u00a0 \u00a0 ) AS \u76f4\u8fd13\u56de\u306e\u5e73\u5747\u500b\u6570<br \/>FROM dbo.\u30e1\u30c0\u30eb\u6570<br \/>ORDER BY \u5b63\u7bc0,\u5e74 DESC,\u30e1\u30c0\u30eb\u8272;<\/p>\n<p><a href=\"https:\/\/www.dbsheetclient.jp\/blog\/wp-content\/uploads\/2018\/03\/sql1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-1809\" src=\"https:\/\/www.dbsheetclient.jp\/blog\/wp-content\/uploads\/2018\/03\/sql1-198x300.png\" alt=\"sql1\" width=\"198\" height=\"300\" srcset=\"https:\/\/www.dbsheetclient.jp\/blog\/wp-content\/uploads\/2018\/03\/sql1-198x300.png 198w, https:\/\/www.dbsheetclient.jp\/blog\/wp-content\/uploads\/2018\/03\/sql1.png 546w\" sizes=\"auto, (max-width: 198px) 100vw, 198px\" \/><\/a><\/p>\n<p>\u6b21\u306b\u3001\u91d1\u3001\u9280\u3001\u9285\u3067\u8272\u3092\u5206\u3051\u305a\u306b\u3001\u5b63\u7bc0\u3001\u5e74\u6bce\u306e\u30e1\u30c0\u30eb\u6570\u306e\u5408\u8a08\u306b\u3064\u3044\u3066\u3001\u6700\u521d\u304b\u3089\u306e\u7d2f\u8a08\u306e\u5408\u8a08\u500b\u6570\u3068\u5e73\u5747\u500b\u6570\u3092\u62bd\u51fa\u3057\u3001\u51ac\u5b63\u3001\u590f\u5b63\u306e\u5e74\u306e\u65b0\u3057\u3044\u9806\u306b\u8868\u793a\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n<p>WITH C_YEAR_MEDAL(\u5b63\u7bc0, \u5e74, \u500b\u6570) AS<br \/>(SELECT \u5b63\u7bc0, \u5e74, SUM(\u500b\u6570)<br \/>\u00a0 \u00a0 FROM dbo.\u30e1\u30c0\u30eb\u6570<br \/>\u00a0 GROUP BY \u5b63\u7bc0, \u5e74<br \/>)<br \/>SELECT<br \/>\u00a0 \u5b63\u7bc0<br \/>\u00a0,\u5e74<br \/>\u00a0,\u500b\u6570<br \/> ,SUM(\u500b\u6570)<br \/>\u00a0 \u00a0 \u00a0 OVER (PARTITION BY \u5b63\u7bc0<br \/>\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0ORDER BY \u5e74<br \/>\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0ROWS BETWEEN UNBOUNDED PRECEDING\u00a0<br \/> \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0AND\u00a0 CURRENT ROW<br \/>\u3000\u3000\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0&#8212; \u6700\u521d\u306e\u884c\u304b\u3089\u73fe\u5728\u884c\u307e\u3067<br \/>\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0) AS \u7d2f\u8a08\u306e\u5408\u8a08\u500b\u6570<br \/> ,AVG(\u500b\u6570)<br \/>\u00a0 \u00a0 \u00a0 \u00a0OVER (PARTITION BY \u5b63\u7bc0<br \/>\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0ORDER BY \u5e74<br \/>\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0ROWS BETWEEN UNBOUNDED PRECEDING<br \/>\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 AND CURRENT ROW<br \/>\u00a0 \u00a0\u3000\u3000\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 &#8212; \u6700\u521d\u306e\u884c\u304b\u3089\u73fe\u5728\u884c\u307e\u3067<br \/>\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0) AS \u7d2f\u8a08\u306e\u5e73\u5747\u500b\u6570<br \/>FROM C_YEAR_MEDAL<br \/>ORDER BY \u5b63\u7bc0 DESC, \u5e74 DESC;<\/p>\n<p><a href=\"https:\/\/www.dbsheetclient.jp\/blog\/wp-content\/uploads\/2018\/03\/sql2_11.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-1814\" src=\"https:\/\/www.dbsheetclient.jp\/blog\/wp-content\/uploads\/2018\/03\/sql2_11-223x300.png\" alt=\"sql2_1\" width=\"253\" height=\"340\" srcset=\"https:\/\/www.dbsheetclient.jp\/blog\/wp-content\/uploads\/2018\/03\/sql2_11-223x300.png 223w, https:\/\/www.dbsheetclient.jp\/blog\/wp-content\/uploads\/2018\/03\/sql2_11.png 612w\" sizes=\"auto, (max-width: 253px) 100vw, 253px\" \/><\/a><br \/><a href=\"https:\/\/www.dbsheetclient.jp\/blog\/wp-content\/uploads\/2018\/03\/sql2_21.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-1815\" src=\"https:\/\/www.dbsheetclient.jp\/blog\/wp-content\/uploads\/2018\/03\/sql2_21-248x300.png\" alt=\"sql2_2\" width=\"183\" height=\"222\" srcset=\"https:\/\/www.dbsheetclient.jp\/blog\/wp-content\/uploads\/2018\/03\/sql2_21-248x300.png 248w, https:\/\/www.dbsheetclient.jp\/blog\/wp-content\/uploads\/2018\/03\/sql2_21.png 440w\" sizes=\"auto, (max-width: 183px) 100vw, 183px\" \/><\/a><\/p>\n<p>\u4e0a\u8a18\u306e\u7d50\u679c\u304b\u3089\u3001OVER\u53e5 + ROWS\u53e5\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u5404\u884c\u306b\u5bfe\u3057\u3066\u306e\u76f4\u8fd1\u306e\u6570\u56de\u3084\u7d2f\u8a08\u306e\u5408\u8a08\u306a\u3069\u3092\u62bd\u51fa\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3053\u3068\u304c\u78ba\u8a8d\u3067\u304d\u307e\u3057\u305f\u3002<\/p>\n<p>\u4eca\u65e5\u306f\u4ee5\u4e0a\u307e\u3067<\/p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>IT\u30b3\u30fc\u30c7\u30a3\u30cd\u30fc\u30bf\u306e\u30b7\u30e5\u30a6\u3067\u3059\u3002 2018\u5e74\u3082\u3001\u3042\u3063\u3068\u3044\u3046\u9593\u306b3\u6708\u306e\u6700\u5f8c\u306e\u9031\u3092\u8fce\u3048\u307e\u3057\u305f\u3002\u3053\u3053\u3057\u3070\u3089\u304f\u3001\u958b\u767a\u306e\u6848\u4ef6\u304c\u5fd9\u3057\u304f\u3001\u30d6\u30ed\u30b0\u306e\u539f\u7a3f\u3092\u4f5c\u308b\u6642\u9593\u304c\u53d6\u308c\u307e\u305b\u3093\u3067\u3057\u305f\u3002\u591a\u5c11\u843d\u3061\u7740\u3044\u3066\u304d\u305f\u306e\u3067\u3001\u4e45\u3057\u3076\u308a\u306b\u66f8\u3044\u3066\u3044\u307e\u3059\u3002\u4e0a\u306e\u5199 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"enabled":false},"version":2}},"categories":[9],"tags":[],"class_list":["post-1802","post","type-post","status-publish","format-standard","hentry","category-9"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.dbsheetclient.jp\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1802","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dbsheetclient.jp\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dbsheetclient.jp\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dbsheetclient.jp\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dbsheetclient.jp\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1802"}],"version-history":[{"count":11,"href":"https:\/\/www.dbsheetclient.jp\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1802\/revisions"}],"predecessor-version":[{"id":1908,"href":"https:\/\/www.dbsheetclient.jp\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1802\/revisions\/1908"}],"wp:attachment":[{"href":"https:\/\/www.dbsheetclient.jp\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1802"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dbsheetclient.jp\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1802"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dbsheetclient.jp\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1802"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}