The Lay of the Land: Understanding Quahog Management in Rhode Island
The Lay of the Land: Understanding Quahog Management in Rhode Island
postgreSQL で id とかのフィールドで自動的に番号が増えていく、auto_increment みたいな設定をテーブルにすると、シーケンスが作られる。 例えばこんなテーブルを作ると CREATE TABLE users( id SERIAL PRIMARY KEY, name VARCHAR(255) ); こんなんなる。 Schema | Name | Type | Owner --------+--------------+----------+---------- public | users | table | postgres public | users_id_seq | sequence | postgres しばらく users にデータをインサートした後で、 このシーケンスに対してセレクトをかけると、 SELECT * FROM users_id_seq ; こ
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く