{"id":2315,"date":"2021-12-02T11:27:43","date_gmt":"2021-12-02T02:27:43","guid":{"rendered":"https:\/\/www.dbsheetclient.jp\/blog\/?p=2315"},"modified":"2021-12-02T11:27:43","modified_gmt":"2021-12-02T02:27:43","slug":"first_value-last_value%ef%bc%88sql-server%ef%bc%89","status":"publish","type":"post","link":"https:\/\/www.dbsheetclient.jp\/blog\/?p=2315","title":{"rendered":"FIRST_VALUE \/ LAST_VALUE\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\/2021\/11\/blog104_1.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2316 size-medium\" src=\"https:\/\/www.dbsheetclient.jp\/blog\/wp-content\/uploads\/2021\/11\/blog104_1-224x300.jpg\" alt=\"blog104_1\" width=\"224\" height=\"300\" srcset=\"https:\/\/www.dbsheetclient.jp\/blog\/wp-content\/uploads\/2021\/11\/blog104_1-224x300.jpg 224w, https:\/\/www.dbsheetclient.jp\/blog\/wp-content\/uploads\/2021\/11\/blog104_1-767x1024.jpg 767w, https:\/\/www.dbsheetclient.jp\/blog\/wp-content\/uploads\/2021\/11\/blog104_1.jpg 1108w\" sizes=\"auto, (max-width: 224px) 100vw, 224px\" \/><\/a><\/p>\n<p>\u5199\u771f\u306f\u3001\u7fa4\u99ac\u770c\u306e\u699b\u540d\u5c71\u306e\u5199\u771f\u3067\u3059\u3002\u7fa4\u99ac\u770c\u306e\u9ad8\u5d0e\u306b\u3044\u308b\u77e5\u4eba\u304c\u5199\u771f\u3092\u9001\u3063\u3066\u304f\u308c\u307e\u3057\u305f\u3002<br \/> \u7fa4\u99ac\u770c\u306b\u306f\u3001\u8d64\u57ce\u5c71\u3001\u699b\u540d\u5c71\u3001\u5999\u7fa9\u5c71\u306e\u4e0a\u6bdb\u4e09\u5c71\u3068\u8a00\u308f\u308c\u308b\u6709\u540d\u306a\u5c71\u304c\u3042\u308a\u3001\u699b\u540d\u5c71\u306f\u4e2d\u592e\u306b\u4f4d\u7f6e\u3059\u308b\u706b\u5c71\u3067\u3042\u308a\u3001\u8907\u6570\u306e\u5c71\u3067\u69cb\u6210\u3055\u308c\u308b\u5c71\u4f53\u306e\u540d\u79f0\u3067\u3059\u3002\u5c71\u9802\u306b\u306f\u3001\u30ab\u30eb\u30c7\u30e9\u6e56\u3067\u3042\u308b\u699b\u540d\u6e56\u3068\u699b\u540d\u5bcc\u58eb\u304c\u3042\u308a\u3001\u305d\u308c\u3089\u3092\u8907\u6570\u306e\u5c71\u304c\u56f2\u3080\u5f62\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002\u706b\u5c71\u3068\u3057\u3066\u306f\u30015\u4e16\u7d00\u304b\u30896\u4e16\u7d00\u306e\u9803\u306b\u3001\u5927\u898f\u6a21\u306a\u5674\u706b\u304c\u5ea6\u3005\u767a\u751f\u3057\u3066\u3044\u305f\u3068\u306e\u8a18\u9332\u304c\u3042\u308a\u307e\u3059\u3002<br \/>\u4ee5\u524d\u306f\u95a2\u8d8a\u81ea\u52d5\u8eca\u9053\u306b\u4e57\u308b\u3053\u3068\u304c\u3088\u304f\u3042\u3063\u3066\u3001\u699b\u540d\u5c71\u3001\u8d64\u57ce\u5c71\u3092\u59cb\u3081\u305f\u304f\u3055\u3093\u306e\u5c71\u3005\u306e\u81ea\u7136\u3092\u898b\u306a\u304c\u3089\u306e\u8d70\u884c\u306f\u3068\u3066\u3082\u6c17\u5206\u304c\u3044\u3044\u3082\u306e\u3067\u3059\u306d\u3002\u699b\u540d\u5c71\u306e\u5074\u306b\u306f\u4f0a\u9999\u4fdd\u6e29\u6cc9\u3082\u3042\u308b\u3068\u3044\u3046\u3053\u3068\u306a\u306e\u3067\u3001\u3044\u3064\u304b\u884c\u3051\u305f\u3089\u3044\u3044\u3068\u601d\u3044\u307e\u3059\u3002<br \/><strong><br \/>\uff1c\u672c\u65e5\u306e\u984c\u6750\uff1e<br \/><\/strong><strong>FIRST_VALUE \/ LAST_VALUE\uff08SQL Server\uff09<\/p>\n<p><\/strong>\u304b\u306a\u308a\u4ee5\u524d\u306e\u30d6\u30ed\u30b0\u3067\u3001<a href=\"https:\/\/www.dbsheetclient.jp\/blog\/?p=1152\">ORACLE\u3067\u306e FIRST \/ LAST\u95a2\u6570\u306b\u3064\u3044\u3066<\/a>\u53d6\u308a\u4e0a\u3052\u307e\u3057\u305f\u304c\u3001SQL Server\u306b\u304a\u3044\u3066\u3082\u540c\u69d8\u306e\u6a5f\u80fd\u304c\u3042\u308b\u306e\u3092\u898b\u3064\u3051\u307e\u3057\u305f\u306e\u3067\u3001\u8a66\u3057\u3066\u307f\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002\u306a\u304a\u3001SQL Server\u306b\u3064\u3044\u3066\u306f\u3001<a href=\"https:\/\/www.dbsheetclient.jp\/blog\/?p=1802\">OVER\u53e5\u306b\u3064\u3044\u3066<\/a>\u3082\u53d6\u308a\u4e0a\u3052\u305f\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u304c\u3001\u4eca\u56de\u306e FIRST_VALUE \/ LAST_VALUE\u95a2\u6570\u306f\u3001OVER\u53e5\u3068\u4e00\u7dd2\u306b\u4f7f\u7528\u3059\u308b\u304b\u305f\u3061\u306b\u306a\u308a\u307e\u3059\u3002<strong><\/p>\n<p><\/strong>\u4f8b)<br \/> \u4ee5\u524d\u30d6\u30ed\u30b0\u3067\u53d6\u308a\u4e0a\u3052\u305f\u3068\u304d\u3068\u540c\u69d8\u306b\u3001\u5546\u54c1\u30de\u30b9\u30bf\u306b\u767b\u9332\u3055\u308c\u305f\u30c7\u30fc\u30bf\u306b\u3064\u3044\u3066\u3001\u5206\u985e\u3054\u3068\u306e\u5024\u6bb5\u304c\u6700\u3082\u9ad8\u3044\u3082\u306e\u3068\u4f4e\u3044\u3082\u306e\u3092\u3001\u5546\u54c1\u540d\u306a\u3069\u306e\u60c5\u5831\u3068\u3068\u3082\u306b\u51fa\u529b\u3059\u308b\u3068\u3044\u3046\u3053\u3068\u3092\u3057\u3066\u307f\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p><span lang=\"EN-US\">CREATE TABLE syomst(<br \/> \u00a0syo_cd\u00a0\u00a0 NVARCHAR(10)<br \/> , syo_name NVARCHAR(20)<br \/> , bnrui\u00a0\u00a0\u00a0 NVARCHAR(20)<br \/> , price\u00a0\u00a0\u00a0 NUMERIC(10)<br \/> , CONSTRAINT PK_syomst PRIMARY KEY (syo_cd));<\/p>\n<p>\u30c7\u30fc\u30bf\u3092\u767b\u9332\u3057\u307e\u3059\u3002<\/p>\n<p><span lang=\"EN-US\">INSERT INTO syomst VALUES(&#8216;A0001&#8217;, &#8216;<\/span>\u30c1\u30e7\u30b3\u30ec\u30fc\u30c8<span lang=\"EN-US\">&#8216;, &#8216;<\/span>\u304a\u83d3\u5b50<span lang=\"EN-US\">&#8216;, 120);<br \/> INSERT INTO syomst VALUES(&#8216;B0001&#8217;, &#8216;<\/span>\u308a\u3093\u3054<span lang=\"EN-US\">&#8216;, &#8216;<\/span>\u679c\u7269<span lang=\"EN-US\">&#8216;, 100);<br \/> INSERT INTO syomst VALUES(&#8216;C0001&#8217;, &#8216;<\/span>\u30ad\u30e3\u30d9\u30c4<span lang=\"EN-US\">&#8216;, &#8216;<\/span>\u91ce\u83dc<span lang=\"EN-US\">&#8216;, 160);<br \/> INSERT INTO syomst VALUES(&#8216;A0002&#8217;, &#8216;<\/span>\u30d3\u30b9\u30b1\u30c3\u30c8<span lang=\"EN-US\">&#8216;, &#8216;<\/span>\u304a\u83d3\u5b50<span lang=\"EN-US\">&#8216;, 200);<br \/> INSERT INTO syomst VALUES(&#8216;B0002&#8217;, &#8216;<\/span>\u6843<span lang=\"EN-US\">&#8216;, &#8216;<\/span>\u679c\u7269<span lang=\"EN-US\">&#8216;, 160);<br \/> INSERT INTO syomst VALUES(&#8216;C0002&#8217;, &#8216;<\/span>\u306b\u3093\u3058\u3093<span lang=\"EN-US\">&#8216;, &#8216;<\/span>\u91ce\u83dc<span lang=\"EN-US\">&#8216;, 150);<br \/> INSERT INTO syomst VALUES(&#8216;A0003&#8217;, &#8216;<\/span>\u30ac\u30e0<span lang=\"EN-US\">&#8216;, &#8216;<\/span>\u304a\u83d3\u5b50<span lang=\"EN-US\">&#8216;, 100);<br \/> INSERT INTO syomst VALUES(&#8216;B0003&#8217;, &#8216;<\/span>\u307f\u304b\u3093<span lang=\"EN-US\">&#8216;, &#8216;<\/span>\u679c\u7269<span lang=\"EN-US\">&#8216;, 80);<br \/> INSERT INTO syomst VALUES(&#8216;C0003&#8217;, &#8216;<\/span>\u3058\u3083\u304c\u3044\u3082<span lang=\"EN-US\">&#8216;, &#8216;<\/span>\u91ce\u83dc<span lang=\"EN-US\">&#8216;, 100);<br \/> INSERT INTO syomst VALUES(&#8216;A0004&#8217;, &#8216;<\/span>\u30b9\u30ca\u30c3\u30af<span lang=\"EN-US\">&#8216;, &#8216;<\/span>\u304a\u83d3\u5b50<span lang=\"EN-US\">&#8216;, 140);<br \/> INSERT INTO syomst VALUES(&#8216;B0004&#8217;, &#8216;<\/span>\u68a8<span lang=\"EN-US\">&#8216;, &#8216;<\/span>\u679c\u7269<span lang=\"EN-US\">&#8216;, 120);<br \/> INSERT INTO syomst VALUES(&#8216;C0004&#8217;, &#8216;<\/span>\u7389\u306d\u304e<span lang=\"EN-US\">&#8216;, &#8216;<\/span>\u91ce\u83dc<span lang=\"EN-US\">&#8216;, 150);<\/span><\/p>\n<p>\u305d\u308c\u3067\u306f\u3001\u5546\u54c1\u30de\u30b9\u30bf\u306e\u30c7\u30fc\u30bf\u3092\u62bd\u51fa\u3059\u308b\u3068\u3068\u3082\u306b\u3001FIRST_VALUE\u3001LAST_VALUE\u3092\u4f7f\u7528\u3057\u3066\u3001\u540c\u3058\u5546\u54c1\u306e\u5206\u985e\u306e\u5024\u6bb5\u304c\u6700\u3082\u4f4e\u3044\u3082\u306e\u3068\u9ad8\u3044\u3082\u306e\u306e\u5546\u54c1\u540d\u3082\u53f3\u5074\u306b\u4e26\u3079\u3066\u62bd\u51fa\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n<p><span lang=\"EN-US\">SELECT bnrui, syo_cd, syo_name, price,<br \/> FIRST_VALUE(syo_name) OVER <br \/> (PARTITION BY bnrui ORDER BY price ASC\u00a0 <br \/> \u00a0ROWS UNBOUNDED PRECEDING<br \/> \u00a0) AS <\/span>\u5206\u985e\u3067\u6700\u3082\u5b89\u3044\u5546\u54c1\u540d<span lang=\"EN-US\">,<br \/> LAST_VALUE(syo_name) OVER <br \/> (PARTITION BY bnrui ORDER BY price ASC<br \/> \u00a0RANGE BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING<br \/> \u00a0) AS <\/span>\u5206\u985e\u3067\u6700\u3082\u9ad8\u3044\u5546\u54c1\u540d<span lang=\"EN-US\"><br \/> FROM dbo.syomst<br \/> ORDER BY bnrui, price, syo_cd;<\/p>\n<p><\/span><\/span><a href=\"https:\/\/www.dbsheetclient.jp\/blog\/wp-content\/uploads\/2021\/11\/blog104_3.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2319\" src=\"https:\/\/www.dbsheetclient.jp\/blog\/wp-content\/uploads\/2021\/11\/blog104_3.png\" alt=\"blog104_3\" width=\"507\" height=\"462\" srcset=\"https:\/\/www.dbsheetclient.jp\/blog\/wp-content\/uploads\/2021\/11\/blog104_3.png 507w, https:\/\/www.dbsheetclient.jp\/blog\/wp-content\/uploads\/2021\/11\/blog104_3-300x273.png 300w\" sizes=\"auto, (max-width: 507px) 100vw, 507px\" \/><\/a><\/p>\n<p>\u5546\u54c1\u30de\u30b9\u30bf\u306e\u5404\u9805\u76ee\u306e\u5024\u304c\u5de6\u5074\u306b\u3001\u305d\u306e\u53f3\u306b\u3001\u5206\u985e\u3067\u6700\u3082\u5b89\u3044\u4fa1\u683c\u306e\u5546\u54c1\u306e\u540d\u524d\u3068\u3001\u5206\u985e\u3067\u6700\u3082\u9ad8\u3044\u4fa1\u683c\u306e\u5546\u54c1\u306e\u540d\u524d\u3092\u6b63\u3057\u304f\u62bd\u51fa\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3057\u305f\u3002<\/p>\n<p>\u3055\u3066\u3001<span lang=\"EN-US\">FIRST_VALUE<\/span>\u3001<span lang=\"EN-US\">LAST_VALUE <\/span>\u3092\u4f7f\u3046\u5834\u5408\u306e\u69cb\u6587\u306f\u3001\u4ee5\u4e0b\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p><span lang=\"EN-US\">FIRST_VALUE \/ LAST_VALUE ( [scalar_expression ] )\u00a0 <br \/>[ IGNORE NULLS | RESPECT NULLS ]<br \/>OVER ( [partition_by_clause] order_by_clause [rows_range_clause] )<\/span><\/p>\n<p>\u4e0a\u8a18\u306e\u30d1\u30e9\u30e1\u30fc\u30bf\u306b\u3064\u3044\u3066\u306f\u3001<span lang=\"EN-US\"><br \/> scalar_expression<\/span>\uff1a<br \/>\u8fd4\u3055\u308c\u308b\u5024\uff1a\u4eca\u56de\u306f\u3001\u5546\u54c1\u540d\u79f0\u3092\u8868\u793a\u3057\u305f\u3044\u306e\u3067\u3001<span lang=\"EN-US\">syo_name<\/span>\u3002<span lang=\"EN-US\"><\/p>\n<p> IGNORE NULLS &#8211; <\/span>\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u306e\u6700\u521d\u306e\u5024\u306e\u8a08\u7b97\u6642\u306b\u3001\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u5185\u306e<span lang=\"EN-US\"> null <\/span>\u5024\u3092\u7121\u8996\u3057\u307e\u3059\u3002<span lang=\"EN-US\"><br \/> RESPECT NULLS &#8211; <\/span>\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u306e\u6700\u521d\u306e\u5024\u306e\u8a08\u7b97\u6642\u306b\u3001\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u5185\u306e<span lang=\"EN-US\"> null <\/span>\u5024\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<br \/>\uff08\u4eca\u56de\u306f\u5546\u54c1\u540d\u79f0\u306fNULL\u30c7\u30fc\u30bf\u304c\u306a\u304f\u95a2\u4fc2\u304c\u306a\u3044\u306e\u3067\u6307\u5b9a\u3057\u3066\u306f\u3044\u307e\u305b\u3093\uff09<\/p>\n<p><span lang=\"EN-US\">partition_by_clause\u00a0<\/span>\u306f\u3001\u6307\u5b9a\u3057\u305f\u9805\u76ee\u3067\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u306b\u5206\u5272\u3057\u3066\u3001\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u6bce\u306e\u7d50\u679c\u3092\u51fa\u3059\u3068\u304d\u306b\u4f7f\u7528\u3057\u307e\u3059\u304c\u3001\u4eca\u56de\u306f\u3001\u5206\u985e<span lang=\"EN-US\">(bunrui)<\/span>\u6bce\u306b\u62bd\u51fa\u3059\u308b\u305f\u3081\u3001\u8a2d\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002<span lang=\"EN-US\"><br \/> order_by_clause <\/span>\u306f\u3001\u4eca\u56de\u306f\u4fa1\u683c<span lang=\"EN-US\">(price)<\/span>\u306e\u6700\u3082\u5b89\u3044\u4fa1\u683c\u3068\u6700\u3082\u9ad8\u3044\u4fa1\u683c\u3092\u51fa\u3059\u305f\u3081\u306b\u4f7f\u7528\u3057\u307e\u3059\u3002<span lang=\"EN-US\"><\/p>\n<p>rows_range_clause <\/span>\u306f\u59cb\u70b9\u3068\u7d42\u70b9\u3092\u6307\u5b9a\u3059\u308b\u3053\u3068\u306b\u3088\u3063\u3066\u3001\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u5185\u306e\u884c\u3092\u3055\u3089\u306b\u6761\u4ef6\u4ed8\u3051\u308b\u3053\u3068\u304c\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002<br \/>\u4eca\u56de\u306e\u4f8b\u306b\u3064\u3044\u3066\u8aac\u660e\u3059\u308b\u3068\u3001<span lang=\"EN-US\">FIRST_VALUE<\/span>\u53e5\u306e\u307b\u3046\u3067\u8a2d\u5b9a\u3057\u3066\u3044\u308b\u300c<span lang=\"EN-US\">ROWS UNBOUNDED PRECEDING<\/span>\u300d\u306f\u3001\u5206\u985e\u6bce\u306e\u6700\u521d\u306e\u884c\u304b\u3089\u958b\u59cb\u3059\u308b\u3053\u3068\u3092\u6307\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002<span lang=\"EN-US\"><br \/> LAST_VALUE<\/span>\u53e5\u306e\u307b\u3046\u306e\u300c<span lang=\"EN-US\">RANGE BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING<\/span>\u300d\u306f\u3001\u73fe\u5728\u306e\u884c\u306e\u5024\u304b\u3089\u6700\u5f8c\u306e\u884c\u306e\u5024\u307e\u3067\u3068\u3044\u3046\u3053\u3068\u3092\u8868\u308f\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u6ce8\u610f\u70b9\u3068\u3057\u3066\u3001<span lang=\"EN-US\">LAST_VALUE<\/span>\u306e\u3068\u304d\u306b\u3001\u4e0a\u8a18\u306e\u7bc4\u56f2\u306e\u8a2d\u5b9a\u3092\u7701\u7565\u3059\u308b\u3068\u3001\u7d50\u679c\u304c\u7570\u306a\u3063\u3066\u304d\u307e\u3059\u3002<span lang=\"EN-US\"><br \/> <\/span>\u8a66\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n<p><span lang=\"EN-US\">SELECT bnrui, syo_cd, syo_name, price,<br \/> FIRST_VALUE(syo_name) OVER <br \/> (PARTITION BY bnrui ORDER BY price ASC\u00a0 <br \/> \u00a0) AS <\/span>\u5206\u985e\u3067\u6700\u3082\u5b89\u3044\u5546\u54c1\u540d<span lang=\"EN-US\">,<br \/> LAST_VALUE(syo_name) OVER <br \/> (PARTITION BY bnrui ORDER BY price ASC<br \/> \u00a0) AS <\/span>\u5206\u985e\u3067\u6700\u3082\u9ad8\u3044\u5546\u54c1\u540d<span lang=\"EN-US\"><br \/> FROM dbo.syomst<br \/> ORDER BY bnrui, price, syo_cd;<\/span><\/p>\n<p><a href=\"https:\/\/www.dbsheetclient.jp\/blog\/wp-content\/uploads\/2021\/11\/blog104_4.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2326\" src=\"https:\/\/www.dbsheetclient.jp\/blog\/wp-content\/uploads\/2021\/11\/blog104_4.png\" alt=\"blog104_4\" width=\"515\" height=\"472\" srcset=\"https:\/\/www.dbsheetclient.jp\/blog\/wp-content\/uploads\/2021\/11\/blog104_4.png 515w, https:\/\/www.dbsheetclient.jp\/blog\/wp-content\/uploads\/2021\/11\/blog104_4-300x274.png 300w\" sizes=\"auto, (max-width: 515px) 100vw, 515px\" \/><\/a><\/p>\n<p>\u5206\u985e\u3067\u6700\u3082\u5b89\u3044\u5546\u54c1\u540d\u306e\u307b\u3046\u306f\u554f\u984c\u306a\u3044\u3067\u3059\u304c\u3001\u5206\u985e\u3067\u6700\u3082\u9ad8\u3044\u5546\u54c1\u540d\u306e\u7d50\u679c\u304c\u3001\u524d\u56de\u306e\u7d50\u679c\u3068\u7570\u306a\u308a\u3001\u5206\u985e\u6bce\u306e\u6700\u3082\u9ad8\u3044\u4fa1\u683c\u306e\u5546\u54c1\u540d\u3067\u306f\u306a\u304f\u3001\u62bd\u51fa\u3057\u305f\u884c\u306e\u5546\u54c1\u540d\u304c\u62bd\u51fa\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u304c\u308f\u304b\u308a\u307e\u3059\u3002\u3053\u308c\u306f\u3001rows_range_clause \u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u8a2d\u5b9a\u304c\u3001\u300cRANGE BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW\u300d\u3068\u3044\u3046\u3053\u3068\u3067\u3001\u5206\u985e\u6bce\u306e\u6700\u521d\u306e\u884c\u306e\u5024\u304b\u3089\u73fe\u5728\u306e\u884c\u306e\u5024\u307e\u3067\u3068\u3044\u3046\u3053\u3068\u306b\u306a\u308a\u3001\u5206\u985e\u6bce\u3001price\u9806\u306b\u30bd\u30fc\u30c8\u3057\u3066\u3044\u308b\u305f\u3081\u3001LAST_VALUE\u3068\u3057\u3066\u306f\u3001\u7d50\u5c40\u3001\u73fe\u5728\u306e\u884c\u306e\u5024\u306b\u306a\u3063\u3066\u3057\u307e\u3063\u3066\u3044\u308b\u3068\u3044\u3046\u3053\u3068\u3067\u3059\u3002<\/p>\n<p>\u305d\u306e\u305f\u3081\u3001LAST_VALUE\u3092\u4f7f\u7528\u3059\u308b\u5834\u5408\u306b\u306f\u3001ROWS\u3084RANGE\u3067\u3001UNBOUNDED FOLLOWING\u307e\u3067\u3068\u3044\u3046\u3088\u3046\u306b\u3001\u7bc4\u56f2\u3092\u9069\u5207\u306b\u6307\u5b9a\u3059\u308b\u3088\u3046\u306b\u3057\u305f\u307b\u3046\u304c\u3088\u3044\u3088\u3046\u3067\u3059\u306d\u3002<\/p>\n<p>\u4eca\u65e5\u306f\u4ee5\u4e0a\u307e\u3067<\/p>\n","protected":false},"excerpt":{"rendered":"<p>IT\u30b3\u30fc\u30c7\u30a3\u30cd\u30fc\u30bf\u306e\u30b7\u30e5\u30a6\u3067\u3059\u3002 \u5199\u771f\u306f\u3001\u7fa4\u99ac\u770c\u306e\u699b\u540d\u5c71\u306e\u5199\u771f\u3067\u3059\u3002\u7fa4\u99ac\u770c\u306e\u9ad8\u5d0e\u306b\u3044\u308b\u77e5\u4eba\u304c\u5199\u771f\u3092\u9001\u3063\u3066\u304f\u308c\u307e\u3057\u305f\u3002 \u7fa4\u99ac\u770c\u306b\u306f\u3001\u8d64\u57ce\u5c71\u3001\u699b\u540d\u5c71\u3001\u5999\u7fa9\u5c71\u306e\u4e0a\u6bdb\u4e09\u5c71\u3068\u8a00\u308f\u308c\u308b\u6709\u540d\u306a\u5c71\u304c\u3042\u308a\u3001\u699b\u540d\u5c71\u306f\u4e2d\u592e\u306b\u4f4d\u7f6e\u3059\u308b\u706b\u5c71\u3067\u3042\u308a [&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-2315","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\/2315","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=2315"}],"version-history":[{"count":13,"href":"https:\/\/www.dbsheetclient.jp\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2315\/revisions"}],"predecessor-version":[{"id":2331,"href":"https:\/\/www.dbsheetclient.jp\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2315\/revisions\/2331"}],"wp:attachment":[{"href":"https:\/\/www.dbsheetclient.jp\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2315"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dbsheetclient.jp\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2315"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dbsheetclient.jp\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2315"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}