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 4 Question 80 Discussion

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

A set of tables are defined as follows: t1 t2 How many rows are returned by executing the following SQL statement? SELECT t1.name FROM t1 CROSS JOIN t2;

Show Suggested Answer Hide Answer
Suggested Answer: A, C

Contribute your Thoughts:

Dong
12 days ago
Wait, did they say the tables are defined as 't1' and 't2'? I thought this was a database exam, not a magic trick!
upvoted 0 times
...
Arminda
15 days ago
Ah, a good old-fashioned CROSS JOIN! This is a classic SQL question. I'm going with E, just to keep things interesting.
upvoted 0 times
Lemuel
1 days ago
I think it's A) 0 rows.
upvoted 0 times
...
...
Maira
18 days ago
Hmm, I'm not sure about this one. I'll have to think it through carefully. Maybe I should call the Help Desk for a hint?
upvoted 0 times
...
Clemencia
23 days ago
I think the answer is D. A CROSS JOIN will return the Cartesian product of the two tables, so the number of rows returned will be the number of rows in t1 multiplied by the number of rows in t2.
upvoted 0 times
Tijuana
1 days ago
I think the answer is D.
upvoted 0 times
...
...
Rashida
2 months ago
Why do you think it's 3 rows?
upvoted 0 times
...
Helga
2 months ago
I disagree, I believe the answer is C) 3 rows.
upvoted 0 times
...
Rashida
2 months ago
I think the answer is B) 2 rows.
upvoted 0 times
...

Save Cancel