Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

PostgreSQL Exam PGCES-02 Topic 9 Question 34 Discussion

Actual exam question for PostgreSQL's PGCES-02 exam
Question #: 34
Topic #: 9
[All PGCES-02 Questions]

What does the following command do? Select two correct descriptions regarding this SQL statement. SELECT * FROM information_schema.tables;

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

Brittni
4 days ago
Ah, the classic information_schema query! I always get that mixed up with the system tables. At least it's not asking about the data dictionary, that would really make my head spin.
upvoted 0 times
...
Titus
7 days ago
B is definitely wrong. The information_schema database is part of the current database, not a separate one. A and E are the right choices here.
upvoted 0 times
...
Mohammad
8 days ago
I'm pretty sure C and D are the right answers. The information_schema database stores table definitions, and this query is accessing the 'tables' table within that schema.
upvoted 0 times
...
Kenneth
15 days ago
I'm not sure about option C and D. I think they are incorrect because the command is not requesting the contents of a specific table, but rather a list of tables.
upvoted 0 times
...
Melinda
17 days ago
A and E are both correct. The statement requests a list of tables defined in the information_schema database, which contains metadata about the database itself.
upvoted 0 times
Mariko
2 days ago
A) Requests a list of defined tables in the currently connected database.
upvoted 0 times
...
...
Dannette
21 days ago
I agree with Devora. The command is requesting a list of defined tables in the currently connected database and in the 'information_schema' database.
upvoted 0 times
...
Devora
26 days ago
I think the correct descriptions are A and B.
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77