More Related Content
Similar to Amazon RDS for PostgreSQLのインスタンス(DB)作成手順
Similar to Amazon RDS for PostgreSQLのインスタンス(DB)作成手順 (20)
More from Insight Technology, Inc.
More from Insight Technology, Inc. (20)
Amazon RDS for PostgreSQLのインスタンス(DB)作成手順
- 13. # psqlでamazon RDS for PostgreSQLにアクセス
psql -U munetika -d pgtestdb -h pgtest.c9pyszpo68j9.ap-northeast-1.rds.amazonaws.com
# テーブル生成
create table testtbl (
key char(008) primary key,
data1 int8,
data2 int8,
data3 int8
);
# データの投入
insert into testtbl values ('key1',1, 20, 30);
insert into testtbl values ('key2',4, 50, 60);
# データの確認
select * from testtbl;