PGCES-02 無料問題集「PostgreSQL-CE PostgreSQL CE 8 Silver」

Select one incorrect statement concerning the relational data model.

The "animal" table consists of the following data:
Select the correct result returned by executing the following SQL statement:
SELECT name FROM animal ORDER BY weight DESC LIMIT 2 OFFSET 1;

Select two suitable statements about major version upgrades of PostgreSQL from below.

正解:B、D 解答を投票する
The following table called 'company' is defined as follows:
id | name
----+------------------
1 | Pgsql,inc.
2 | Postgres Co.,Ltd
3 | SQL Company.
Select the most appropriate psql command for generating a text file company.txt on the client side
with the following content:
1,"Pgsql,inc."
2,"Postgres Co.,Ltd"
3,SQL Company.

A set of tables are defined as follows:
t1
t2
How many rows are returned by executing the following SQL statement?
SELECT * FROM t1
WHERE EXISTS (SELECT name FROM t2 WHERE t1.id = t2.id);

The following are statements related to the postmaster. Select one statement that is incorrect.

A table named "sample" is defined as below. Select two statements which will generate a
constraint error.
CREATE TABLE sample (
i INTEGER PRIMARY KEY,
j INTEGER,
CHECK ( i > 0 AND j < 0 )
);

正解:A、B 解答を投票する
A pg_hba.conf file is set up as follows.
local all all md5
host all all 127.0.0.1/32 md5
host all all 172.16.1.0/24 md5
When user foo connects to database bar from host IP address 172.16.1.2, I would like password
verification to not be performed.
Select one appropriate line for the new pg_hba.conf file.

Select two correct statements that describe what occurs on the client side when the following command is executed. pg_ctl -m smart stop

正解:A、D 解答を投票する
The tables "t1" and "t2" are defined below.
Tables "t1" and "t2" have columns "id" that are of INTEGER type, and columns "name" that are of
TEXT type.
t1
t2
The following SQL command was executed. Select the number of rows in the result. SELECT *
FROM t1 RIGHT OUTER JOIN t2 ON t1.id = t2.id;

弊社を連絡する

我々は12時間以内ですべてのお問い合わせを答えます。

オンラインサポート時間:( UTC+9 ) 9:00-24:00
月曜日から土曜日まで

サポート:現在連絡