MultipleChoice
I want to restore data from a text format backup file foo.dump. Choose an appropriate command.
OptionsMultipleChoice
Select one false statement about the benefits of using database management systems from below.
OptionsMultipleChoice
I would like to restore the database cluster from the "db1.dump" backup file. Select the correct command from below. (Note: "postgres" is the superuser)
OptionsMultipleChoice
Choose an incorrect statement regarding prepared statements, and 'PREPARE' / 'EXECUTE' commands.
OptionsMultipleChoice
Table t1 is defined as follows: CREATE TABLE t1 (value VARCHAR(5)); A set of SQL statements were executed in the following order. Select the number of rows that table "t1" has after execution. BEGIN; INSERT INTO t1 VALUES ('A'); SAVEPOINT sp; INSERT INTO t1 VALUES ('B'); ROLLBACK TO sp; INSERT INTO t1 VALUES ('C'); COMMIT;
OptionsMultipleChoice
Select two correct statements about the command shown below.
Note: $ is the command prompt. $ pg_ctl reload
OptionsMultipleChoice
Select the most suitable statement about the PostgreSQL license from below.
OptionsMultipleChoice
The table 't1' is defined below. The column 'id'
for table 't1' is of INTEGER type.
id | name ----
+-----------1 |
mammoth 2 |
tortoise 3 |
coelacanth
The following SQL statements were executed. Select the correct statement about the execution result. BEGIN; DECLARE c SCROLL CURSOR FOR SELECT name FROM t1 ORDER BY id;
MOVE FORWARD 2 FROM c; FETCH FORWARD ALL FROM c; COMMIT;
OptionsMultipleChoice
Select two incorrect statements related to the command below.
Note: $ is the command prompt. $ psql -U foo -c 'COPY company TO stdout;' bar
OptionsMultipleChoice
The tables 't1' and 't2' are defined in the same way (they have the same data types and column names). You want to select rows in 't1' which are not in 't2'. Select a correct keyword to fill in the blank below. SELECT * FROM t1 ______ SELECT * FROM t2;
Options