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
3 months 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
Lorenza
29 days ago
At least it's not asking about the data dictionary, that would really make my head spin.
upvoted 0 times
...
Billy
1 months ago
Ah, the classic information_schema query! I always get that mixed up with the system tables.
upvoted 0 times
...
Amie
1 months ago
B) Requests a list of defined tables in the 'information_schema' database.
upvoted 0 times
...
Ellsworth
1 months ago
A) Requests a list of defined tables in the currently connected database.
upvoted 0 times
...
Lorrine
1 months ago
E) Requests a list of defined tables in the 'information_schema' schema.
upvoted 0 times
...
Nana
1 months ago
Ah, the classic information_schema query! I always get that mixed up with the system tables.
upvoted 0 times
...
Roosevelt
2 months ago
B) Requests a list of defined tables in the 'information_schema' database.
upvoted 0 times
...
Tracey
2 months ago
A) Requests a list of defined tables in the currently connected database.
upvoted 0 times
...
...
Titus
3 months 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
3 months 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
3 months 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
3 months 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
Melda
2 months ago
E) Requests a list of defined tables in the 'information_schema' schema.
upvoted 0 times
...
Harris
2 months ago
B) Requests a list of defined tables in the 'information_schema' database.
upvoted 0 times
...
Roxane
3 months ago
E) Requests a list of defined tables in the 'information_schema' schema.
upvoted 0 times
...
Roxane
3 months ago
A) Requests a list of defined tables in the currently connected database.
upvoted 0 times
...
Mariko
3 months ago
A) Requests a list of defined tables in the currently connected database.
upvoted 0 times
...
...
Dannette
3 months 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
4 months ago
I think the correct descriptions are A and B.
upvoted 0 times
...

Save Cancel