PGCES-02 無料問題集「PostgreSQL-CE PostgreSQL CE 8 Silver」
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.
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.
正解: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.
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.
正解:A
解答を投票する
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;
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;
正解:A
解答を投票する