PGCES-02 試験問題を無料オンラインアクセス
| 試験コード: | PGCES-02 |
| 試験名称: | PostgreSQL CE 8 Silver |
| 認定資格: | PostgreSQL-CE |
| 無料問題数: | 145 |
| 更新日: | 2026-06-02 |
I would like to insert the contents of the text file users.dat into the table t1 using psql. Contents of
text file users.dat:
Definition of table t1:
CREATE TABLE t1 (uname TEXT, pass TEXT, id INTEGER); Select the most appropriate input
from those below.
SQL statements were executed in the following order:
CREATE TABLE fmaster
(id INTEGER PRIMARY KEY, name TEXT);
CREATE TABLE ftrans
(id INTEGER REFERENCES fmaster (id), stat INTEGER, date DATE);
INSERT INTO fmaster VALUES (1, 'itemA');
INSERT INTO ftrans VALUES (1, 1, CURRENT_DATE);
Select two SQL statements that will generate an error when executed next.