質問編集履歴
1
create table、insert tableのダブルクォーテーションを外しました
title
CHANGED
File without changes
|
body
CHANGED
@@ -17,23 +17,23 @@
|
|
17
17
|
|
18
18
|
```
|
19
19
|
//データを取得するテーブル
|
20
|
-
CREATE TABLE
|
20
|
+
CREATE TABLE manager (
|
21
|
-
|
21
|
+
id text,
|
22
|
-
|
22
|
+
first_name text,
|
23
|
-
|
23
|
+
age numeric,
|
24
|
-
|
24
|
+
tel text
|
25
25
|
);
|
26
26
|
|
27
|
-
INSERT INTO
|
27
|
+
INSERT INTO manager (id, first_name, age, tel) VALUES
|
28
28
|
('1', '名字', 30, '090-9999-9999');
|
29
29
|
|
30
30
|
|
31
31
|
//データを登録するテーブル
|
32
|
-
CREATE TABLE
|
32
|
+
CREATE TABLE test (
|
33
|
-
|
33
|
+
test1 text,
|
34
|
-
|
34
|
+
test2 text,
|
35
|
-
|
35
|
+
test_num numeric,
|
36
|
-
|
36
|
+
test4 text
|
37
37
|
);
|
38
38
|
```
|
39
39
|
- メインのファンクション
|