exam questions

Exam 1z0-071 All Questions

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

Exam 1z0-071 topic 1 question 74 discussion

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

Examine the description of the BRICKS table:

Examine the description of the BRICKS_STAGE table:

Which two queries execute successfully? (Choose two.)
A.

B.

C.

D.

E.

Show Suggested Answer Hide Answer
Suggested Answer: BE

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
Artur1991
Highly Voted 2 years, 4 months ago
AD are the correct answers
upvoted 26 times
...
paddy95
Highly Voted 2 years, 2 months ago
A D create table briks ( brick_id number(38) , shape varchar2(30) , color varchar2(30) , weight number ); create table bricks_stage( weight number , shape varchar2(30) , color varchar2(30)); --A + select brick_id , shape from briks minus select weight, color from bricks_stage; --B - select * from briks minus select * from bricks_stage; -- C - select shape, color from briks minus select weight, color from bricks_stage; -- D + select shape, color from briks minus select color, shape from bricks_stage; --E select shape, color, weight from briks minus select * from bricks_stage;
upvoted 7 times
zouve
1 year, 7 months ago
tested twice AD
upvoted 5 times
...
...
Thameur01
Most Recent 5 days, 23 hours ago
A and D are the correct options
upvoted 1 times
...
mage2611
7 months ago
Answer is A, D is not correct because of the ordering of the columns (datatype mismatch)
upvoted 1 times
Ayman_Khalifa
6 months, 2 weeks ago
shape and color both have the same datatype, therefore, ordering doesn't matter
upvoted 1 times
...
...
ArslanAltaf
9 months, 2 weeks ago
AD is correct. The Data type and number of columns have to be same.
upvoted 1 times
...
yaya32
1 year ago
AD for me
upvoted 2 times
...
Arth1989
1 year ago
AD, number of columns and order types should match
upvoted 2 times
...
yanoolthecool
1 year, 1 month ago
if D works, why wont E?
upvoted 1 times
yanoolthecool
1 year, 1 month ago
oh nvm, cuz D have varchar and varchar for both, so the order wont matter. E's wrong cuz it will match a number with varchar, so yea..
upvoted 1 times
...
...
Raja29
1 year, 2 months ago
AD are the correct answers
upvoted 1 times
...
lucemqy
1 year, 2 months ago
AD should be the correct answer since the data types match with same number of columns
upvoted 1 times
...
Salmanbutt786
1 year, 2 months ago
I have tested A,D and E these all are correct.
upvoted 1 times
Salmanbutt786
1 year, 2 months ago
B- AND C ARE FALSE B - Return error, coz no of column must be same in both queries. C- will also return error, coz expression must have same datatype in both queries.
upvoted 1 times
...
...
metallers
1 year, 3 months ago
AD are the correct answers
upvoted 1 times
...
HassanMkhlalati
1 year, 4 months ago
AD are the correct
upvoted 2 times
...
Arth1989
1 year, 5 months ago
It is no brainer. AD!
upvoted 2 times
...
super04
1 year, 5 months ago
AD is Correct answer. Use Minus operator to return all distinct rows selected by the first query, but not present in the second query result set. In Minus operator, the number of columns must be the same and data type of columns being selected by the SELECT statements in queries must belong to the same data type group in all the SELECT statements used in the query. The names of the columns, however, need not be identical.
upvoted 2 times
...
Sushmasri
1 year, 6 months ago
A,D are correct
upvoted 3 times
...
Nelita
1 year, 8 months ago
AD ARE CORRECT. The others show errors.
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago