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.)
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.)
Using IN will display all the product names because the product list values present in the subquery will match all the product names in the main query. Using <> ANY will display all the product names because it's effectively looking for any values that are not equal to any value in the list, but since it's a comparison against the same table, it results in all rows being selected.
E would be correct if it's NOT IN and <> ALL
A is a correct answer Using NOT IN or <> ANY will not give the same result.
Only A is correct
A is correct
Maybe E is supposed to be using IN ..., then it would work.
if C or E said will NOT give the same result then that would be true.
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)