回答編集履歴

4

訂正

2020/12/09 03:19

投稿

sazi
sazi

スコア25327

test CHANGED
@@ -8,9 +8,9 @@
8
8
 
9
9
  , '2020/12/09'::date + (time_range + 10 || 'minute')::interval as scale_time_to
10
10
 
11
- from GENERATE_SERIES(0, 1440, 10) as time_range(time_range)
11
+ from GENERATE_SERIES(0, 1439, 10) as time_range(time_range)
12
12
 
13
- -- 0始まりで10毎に1440までで一日分を生成
13
+ -- 0始まりで10毎に1439までで一日分を生成
14
14
 
15
15
  ```
16
16
 
@@ -28,7 +28,7 @@
28
28
 
29
29
  , '2020/12/09'::date + (time_range + 10 || 'minute')::interval as time_to
30
30
 
31
- from GENERATE_SERIES(0, 1440, 10) as time_range(time_range)
31
+ from GENERATE_SERIES(0, 1439, 10) as time_range(time_range)
32
32
 
33
33
  ) scale
34
34
 

3

訂正

2020/12/09 03:19

投稿

sazi
sazi

スコア25327

test CHANGED
@@ -28,7 +28,7 @@
28
28
 
29
29
  , '2020/12/09'::date + (time_range + 10 || 'minute')::interval as time_to
30
30
 
31
- from GENERATE_SERIES(0, 3600, 10) as time_range(time_range)
31
+ from GENERATE_SERIES(0, 1440, 10) as time_range(time_range)
32
32
 
33
33
  ) scale
34
34
 

2

訂正

2020/12/09 03:17

投稿

sazi
sazi

スコア25327

test CHANGED
@@ -8,9 +8,9 @@
8
8
 
9
9
  , '2020/12/09'::date + (time_range + 10 || 'minute')::interval as scale_time_to
10
10
 
11
- from GENERATE_SERIES(0, 3600, 10) as time_range(time_range)
11
+ from GENERATE_SERIES(0, 1440, 10) as time_range(time_range)
12
12
 
13
- -- 0始まりで10毎に3600までで一日分を生成
13
+ -- 0始まりで10毎に1440までで一日分を生成
14
14
 
15
15
  ```
16
16
 

1

推敲

2020/12/09 03:17

投稿

sazi
sazi

スコア25327

test CHANGED
@@ -8,7 +8,9 @@
8
8
 
9
9
  , '2020/12/09'::date + (time_range + 10 || 'minute')::interval as scale_time_to
10
10
 
11
- from GENERATE_SERIES(0, 3600, 10) as time_range(time_range)
11
+ from GENERATE_SERIES(0, 3600, 10) as time_range(time_range)
12
+
13
+ -- 0始まりで10毎に3600までで一日分を生成
12
14
 
13
15
  ```
14
16