View the Exhibits and examine products and sales tables.
You issue the following query to display product name and the number of times the product has been sold:
What happens when the above statement is executed?
A.
The statement executes successfully and produces the required output.
B.
The statement produces an error because item_cnt cannot be displayed in the outer query.
C.
The statement produces an error because a subquery in the from clause and outer-joins cannot
be used together.
D.
The statement produces an error because the group by clause cannot be used in a subquery in
the from clause.
Explanation:
Answer is A. Tested.
Answer is A. It is tested.
Finallly ans is A.