質問編集履歴
4
追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -20,9 +20,21 @@
|
|
20
20
|
|
21
21
|
public | 家計簿集計 | table | postgres
|
22
22
|
|
23
|
+
sample=# \d 家計簿;
|
24
|
+
|
25
|
+
日付 | date |
|
26
|
+
|
27
|
+
費目 | character varying(20) |
|
28
|
+
|
29
|
+
メモ | character varying(100) |
|
30
|
+
|
31
|
+
入金額 | integer |
|
32
|
+
|
33
|
+
出金額 | integer |
|
34
|
+
|
35
|
+
```
|
23
36
|
|
24
37
|
|
25
|
-
```
|
26
38
|
|
27
39
|
上記出力結果より、select実行時、
|
28
40
|
|
3
追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -32,7 +32,13 @@
|
|
32
32
|
|
33
33
|
バージョンは
|
34
34
|
|
35
|
+
SQL:
|
36
|
+
|
35
37
|
PostgreSQL 9.6.15 on x86_64-pc-linux-gnu, compiled by gcc (Debian 6.3.0-18+deb9u1) 6.3.0 20170516, 64-bit
|
38
|
+
|
39
|
+
|
40
|
+
|
41
|
+
Linux:
|
36
42
|
|
37
43
|
Debian GNU/Linux 9
|
38
44
|
|
2
追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -34,7 +34,7 @@
|
|
34
34
|
|
35
35
|
PostgreSQL 9.6.15 on x86_64-pc-linux-gnu, compiled by gcc (Debian 6.3.0-18+deb9u1) 6.3.0 20170516, 64-bit
|
36
36
|
|
37
|
-
Debian GNU/Linux 9
|
37
|
+
Debian GNU/Linux 9
|
38
38
|
|
39
39
|
となります。
|
40
40
|
|
1
追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -12,9 +12,33 @@
|
|
12
12
|
|
13
13
|
2018-02-18 | 水道光熱費 | 1月の電気代 | 0 | 7560
|
14
14
|
|
15
|
+
sample=# \d
|
16
|
+
|
17
|
+
public | 家計簿 | table | postgres
|
18
|
+
|
19
|
+
public | 家計簿アーカイブ | table | postgres
|
20
|
+
|
21
|
+
public | 家計簿集計 | table | postgres
|
22
|
+
|
23
|
+
|
24
|
+
|
15
25
|
```
|
16
26
|
|
27
|
+
上記出力結果より、select実行時、
|
28
|
+
|
17
|
-
|
29
|
+
列名が出力されないのですが、列名も合わせて出力する場合はどのように出力する必要がありますでしょうか?
|
30
|
+
|
31
|
+
|
32
|
+
|
33
|
+
バージョンは
|
34
|
+
|
35
|
+
PostgreSQL 9.6.15 on x86_64-pc-linux-gnu, compiled by gcc (Debian 6.3.0-18+deb9u1) 6.3.0 20170516, 64-bit
|
36
|
+
|
37
|
+
Debian GNU/Linux 9 \n \l
|
38
|
+
|
39
|
+
となります。
|
40
|
+
|
41
|
+
|
18
42
|
|
19
43
|
|
20
44
|
|