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
2 months 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
2 months 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
Curtis
22 days ago
I'm going with E) 6 rows.
upvoted 0 times
...
Nohemi
29 days ago
I believe it's C) 3 rows.
upvoted 0 times
...
Shantell
1 months ago
I'm going with B) 2 rows.
upvoted 0 times
...
Lemuel
2 months ago
I think it's A) 0 rows.
upvoted 0 times
...
...
Maira
2 months 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
2 months 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
Mabelle
1 months ago
I'm pretty sure it's B.
upvoted 0 times
...
Roxane
1 months ago
No, I believe the answer is E.
upvoted 0 times
...
Tijuana
2 months ago
I think the answer is D.
upvoted 0 times
...
...
Rashida
3 months ago
Why do you think it's 3 rows?
upvoted 0 times
...
Helga
3 months ago
I disagree, I believe the answer is C) 3 rows.
upvoted 0 times
...
Rashida
3 months ago
I think the answer is B) 2 rows.
upvoted 0 times
...

Save Cancel