質問編集履歴
4
追記
title
CHANGED
File without changes
|
body
CHANGED
@@ -9,8 +9,14 @@
|
|
9
9
|
public | 家計簿 | table | postgres
|
10
10
|
public | 家計簿アーカイブ | table | postgres
|
11
11
|
public | 家計簿集計 | table | postgres
|
12
|
+
sample=# \d 家計簿;
|
13
|
+
日付 | date |
|
14
|
+
費目 | character varying(20) |
|
15
|
+
メモ | character varying(100) |
|
16
|
+
入金額 | integer |
|
17
|
+
出金額 | integer |
|
18
|
+
```
|
12
19
|
|
13
|
-
```
|
14
20
|
上記出力結果より、select実行時、
|
15
21
|
列名が出力されないのですが、列名も合わせて出力する場合はどのように出力する必要がありますでしょうか?
|
16
22
|
|
3
追記
title
CHANGED
File without changes
|
body
CHANGED
@@ -15,7 +15,10 @@
|
|
15
15
|
列名が出力されないのですが、列名も合わせて出力する場合はどのように出力する必要がありますでしょうか?
|
16
16
|
|
17
17
|
バージョンは
|
18
|
+
SQL:
|
18
19
|
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
|
20
|
+
|
21
|
+
Linux:
|
19
22
|
Debian GNU/Linux 9
|
20
23
|
となります。
|
21
24
|
|
2
追記
title
CHANGED
File without changes
|
body
CHANGED
@@ -16,7 +16,7 @@
|
|
16
16
|
|
17
17
|
バージョンは
|
18
18
|
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
|
19
|
-
Debian GNU/Linux 9
|
19
|
+
Debian GNU/Linux 9
|
20
20
|
となります。
|
21
21
|
|
22
22
|
|
1
追記
title
CHANGED
File without changes
|
body
CHANGED
@@ -5,7 +5,19 @@
|
|
5
5
|
2018-02-11 | 教養娯楽費 | 書籍を購入 | 0 | 2800
|
6
6
|
2018-02-14 | 交際費 | 同期会の会費 | 0 | 5000
|
7
7
|
2018-02-18 | 水道光熱費 | 1月の電気代 | 0 | 7560
|
8
|
+
sample=# \d
|
9
|
+
public | 家計簿 | table | postgres
|
10
|
+
public | 家計簿アーカイブ | table | postgres
|
11
|
+
public | 家計簿集計 | table | postgres
|
12
|
+
|
8
13
|
```
|
14
|
+
上記出力結果より、select実行時、
|
9
|
-
|
15
|
+
列名が出力されないのですが、列名も合わせて出力する場合はどのように出力する必要がありますでしょうか?
|
10
16
|
|
17
|
+
バージョンは
|
18
|
+
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
|
19
|
+
Debian GNU/Linux 9 \n \l
|
20
|
+
となります。
|
21
|
+
|
22
|
+
|
11
23
|
よろしくお願い致します。
|