exam questions

Exam 1z0-071 All Questions

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

Exam 1z0-071 topic 1 question 212 discussion

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

Examine this query and its output:



Examine this query with an incomplete WHERE clause:



Which two are true about operators that can be used in the WHERE clause? (Choose two.)

  • A. Using <> ANY will display all the product names except the product named Fork.
  • B. Using IN will display all the product names.
  • C. Using NOT IN or <> ANY will give the same result.
  • D. Using <> ANY will display all the product names.
  • E. Using NOT IN or <> ANY will give the same result.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

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
braintop
2 weeks ago
Selected Answer: A
Its intresting...BOTH queries return the same result select prod_list, prod_name from products where prod_list = any (select prod_list from products) select prod_list, prod_name from products where prod_list <> any (select prod_list from products)
upvoted 1 times
...
Wadyba
3 months, 1 week ago
'A' can not be correct. The subquery will list 10, 20, 30, 40 while the main query will return any product name that is not equal to any of the subquery list (<> ANY). So, A cannot be correct.
upvoted 1 times
...
Mcromeo
1 year ago
Selected Answer: A
Only A is correct
upvoted 1 times
...
lucemqy
1 year ago
E would be correct if it's NOT IN and <> ALL
upvoted 2 times
...
lucemqy
1 year ago
Selected Answer: A
A is correct
upvoted 1 times
...
jm9999
1 year, 2 months ago
Maybe E is supposed to be using IN ..., then it would work.
upvoted 1 times
jm9999
1 year, 2 months ago
if C or E said will NOT give the same result then that would be true.
upvoted 1 times
...
...
Sathitest071
1 year, 8 months ago
Answer is A and Using NOT IN or <> ANY will not give the same result. create table products ( prod_id number, prod_name varchar2(10), prod_list number) insert into products values( 101, 'Plate', 10); insert into products values( 102, 'Cup', 20); insert into products values( 103, 'Saucer', 30); insert into products values( 104, 'Knife', 40); insert into products values( 105, 'Fork', ''); select prod_name from products where prod_list not in (select prod_list from products) select prod_name from products where prod_list <> any (select prod_list from products)
upvoted 1 times
...
kesammy9
1 year, 9 months ago
Selected Answer: A
A is a correct answer Using NOT IN or <> ANY will not give the same result.
upvoted 2 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