Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

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 (?) , you can switch to a simple comment.
Switch to a voting comment New
Artur1991
Highly Voted 1 year, 7 months ago
AD are the correct answers
upvoted 24 times
...
paddy95
Highly Voted 1 year, 5 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 6 times
zouve
10 months, 1 week ago
tested twice AD
upvoted 3 times
...
...
ArslanAltaf
Most Recent 1 week, 6 days ago
AD is correct. The Data type and number of columns have to be same.
upvoted 1 times
...
yaya32
3 months, 2 weeks ago
AD for me
upvoted 2 times
...
Arth1989
3 months, 3 weeks ago
AD, number of columns and order types should match
upvoted 1 times
...
yanoolthecool
4 months ago
if D works, why wont E?
upvoted 1 times
yanoolthecool
4 months 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
5 months, 1 week ago
AD are the correct answers
upvoted 1 times
...
lucemqy
5 months, 2 weeks ago
AD should be the correct answer since the data types match with same number of columns
upvoted 1 times
...
Salmanbutt786
5 months, 2 weeks ago
I have tested A,D and E these all are correct.
upvoted 1 times
Salmanbutt786
5 months, 2 weeks 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
6 months, 1 week ago
AD are the correct answers
upvoted 1 times
...
HassanMkhlalati
7 months, 2 weeks ago
AD are the correct
upvoted 2 times
...
Arth1989
8 months ago
It is no brainer. AD!
upvoted 2 times
...
super04
8 months, 2 weeks 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
9 months ago
A,D are correct
upvoted 3 times
...
Nelita
11 months ago
AD ARE CORRECT. The others show errors.
upvoted 1 times
...
Orxan_H
1 year ago
why C inccorect?
upvoted 1 times
fgramos
10 months, 3 weeks ago
Because Shape (1st column, 1st select) is VARCHAR2(20) and the first column of the second query is Weight, type number
upvoted 1 times
...
...
jfc1
1 year, 3 months ago
B is wrong ORA-01789: query block has incorrect number of result columns E is wrong ORA-01790: expression must have same datatype as corresponding expression AD is the correct answer.
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 ...