exam questions

Exam 1z0-071 All Questions

View all questions & answers for the 1z0-071 exam

Exam 1z0-071 topic 1 question 100 discussion

Actual exam question from Oracle's 1z0-071
Question #: 100
Topic #: 1
[All 1z0-071 Questions]

Examine the BRICKS table:



You write this query:



How many rows will the query return?

  • A. 4
  • B. 6
  • C. 16
  • D. 0
  • E. 1
  • F. 10
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
CyberP
Highly Voted 1 year, 7 months ago
Selected Answer: B
The correct answer is B which is 6 rows Explanation: The CROSS JOIN operation combines each row from the first table with each row from the second table. Since the BRICKS table has 4 rows, the result of the CROSS JOIN will have 4 * 4 = 16 rows. The WHERE clause filters out rows where b1.weight is not less than b2.weight. This means that only rows where the weight of the first brick is less than the weight of the second brick will be included in the result. There are 6 such combinations: (5,10), (5,15), (5,20), (10,15), (10,20), and (15,20). So the final result will have 6 rows.
upvoted 8 times
...
2339ac0
Most Recent 2 months, 2 weeks ago
Selected Answer: B
B is the correct answer.
upvoted 1 times
...
yaya32
1 year ago
Selected Answer: B
Option B is correct
upvoted 1 times
...
Omar116
1 year, 3 months ago
checked in DB B is correct
upvoted 1 times
...
Sushmasri
1 year, 5 months ago
Option B is correct
upvoted 1 times
...
Shrimathi
1 year, 5 months ago
return 6 rows option B tested
upvoted 1 times
...
theleerise
1 year, 7 months ago
Selected Answer: C
C is correct
upvoted 1 times
...
CyberP
1 year, 7 months ago
Selected Answer: C
I think its 16
upvoted 1 times
CyberP
1 year, 7 months ago
4*4=16
upvoted 1 times
CyberP
1 year, 7 months ago
forget what i said above, correct answer is 6
upvoted 1 times
...
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...