Oracle
1Z0-071 · Question #135
1Z0-071 Question #135: Real Exam Question with Answer & Explanation
Sign in or unlock 1Z0-071 to reveal the answer and full explanation for question #135. The question stem and answer options stay visible for context.
Question
View the Exhibit and examine the structure of the SALES and PRODUCTS tables. (Choose two.) In the SALES table, PROD_ID is the foreign key referencing PROD_ID in the PRODUCTS table. You must list each product ID and the number of times it has been sold. Examine this query which is missing a JOIN operator: SQL > SELECT p.prod_id, count(s.prod_id) FROM products p ______________ sales s ON p.prod_id = s.prod_id GROUP BY p.prod_id; Which two JOIN operations can be used to obtain the required output?
Exhibit
Options
- AFULL OUTER JOIN
- BJOIN
- CLEFT OUETR JOIN
- DRIGHT OUTER JOIN
Unlock 1Z0-071 to see the answer
You've previewed enough free 1Z0-071 questions. Unlock 1Z0-071 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
