facebook twitter hatena line email

「Postgresql/DML」の版間の差分

提供: 初心者エンジニアの簡易メモ
移動: 案内検索
(ページの作成:「==データ挿入== insert into test1 values(1,'taro', true); insert into test1 values(2,'hiro', false); insert into test1 values(3,'masa', false); ==日付の加算...」)
 
(相違点なし)

2015年5月20日 (水) 02:59時点における最新版

データ挿入

insert into test1 values(1,'taro', true);
insert into test1 values(2,'hiro', false);
insert into test1 values(3,'masa', false);


日付の加算

select updated + cast('30 dates' as interval);