exam questions

Exam 1z0-071 All Questions

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

Exam 1z0-071 topic 1 question 120 discussion

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

Examine the data in the COLORS table:



Examine the data in the BRICKS table:



Which two queries return all the rows from COLORS? (Choose two.)

  • A.
  • B.
  • C.
  • D.
  • E.
Show Suggested Answer Hide Answer
Suggested Answer: AB 🗳️

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
anzac
Highly Voted 2 years, 1 month ago
Checked: A, B Check: CREATE TABLE COLORS_120 ( RGB_HEX_VALUE VARCHAR2(100) , COLOR_NAME VARCHAR2(100) ); CREATE TABLE BRIKS_120 ( BRICK_ID NUMBER , COLOR_RGB_HEX_VALUE VARCHAR2(100) ); INSERT INTO COLORS_120 SELECT 'FF0000','red' FROM DUAL UNION ALL SELECT '00FF00','green' FROM DUAL UNION ALL SELECT '0000FF','blue' FROM DUAL; INSERT INTO BRIKS_120 SELECT 1,'FF0000' FROM DUAL UNION ALL SELECT 2,'00FF00' FROM DUAL UNION ALL SELECT 3,'FFFFFF' FROM DUAL; A; SELECT * FROM BRIKS_120 b RIGHT JOIN COLORS_120 c ON b.COLOR_RGB_HEX_VALUE = c.RGB_HEX_VALUE; B; SELECT * FROM BRIKS_120 b FULL JOIN COLORS_120 c ON b.COLOR_RGB_HEX_VALUE = c.RGB_HEX_VALUE; C; SELECT * FROM c FULL JOIN BRIKS_120 b USING(RGB_HEX_VALUE); D; SELECT * FROM COLORS_120 c LEFT JOIN BRIKS_120 b ON b.COLOR_RGB_HEX_VALUE = c.RGB_HEX_VALUE WHERE b.brick_id > 0 ; E; SELECT * FROM BRIKS_120 b LEFT JOIN COLORS_120 c ON b.COLOR_RGB_HEX_VALUE = c.RGB_HEX_VALUE;
upvoted 12 times
WingL
1 year, 7 months ago
thanks for coding.
upvoted 3 times
...
...
amizh
Most Recent 11 months, 3 weeks ago
Selected Answer: AB
A, B is correct. tried.
upvoted 1 times
...
amizh
11 months, 3 weeks ago
Selected Answer: BC
tried it . A,B,C correct
upvoted 1 times
ArslanAltaf
9 months, 2 weeks ago
C is not true. look at the common column difference.
upvoted 1 times
...
...
yaya32
1 year ago
Selected Answer: AB
Not possible to use the using clause as the names of the columns are not the same. For me AB is the correct answer.
upvoted 1 times
...
lucemqy
1 year, 2 months ago
Selected Answer: AB
AB is the correct answer
upvoted 1 times
...
jm9999
1 year, 4 months ago
How can the answer key say DE? Not even close.
upvoted 1 times
...
WingL
1 year, 7 months ago
A and B are correct.
upvoted 1 times
...
Orxan_H
1 year, 7 months ago
Why D incorrect?
upvoted 1 times
a947739
7 months, 1 week ago
if you remove "where b.brick_id> 0" then D is correct. With the where clause, it only returns two rows.
upvoted 1 times
...
...
Darnun
1 year, 10 months ago
Selected Answer: AB
AB are correct ones
upvoted 1 times
...
jfc1
2 years ago
Selected Answer: AB
AB are the answers
upvoted 2 times
...
dexdinh91
2 years ago
Selected Answer: AB
AB are correct
upvoted 1 times
...
cadcadley
2 years ago
AB is correct
upvoted 1 times
...
abdullah_barham
2 years, 1 month ago
Selected Answer: AB
AB ARE THE ANSWERS
upvoted 4 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago