Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Oracle Exam 1Z0-082 Topic 13 Question 83 Discussion

Actual exam question for Oracle's 1Z0-082 exam
Question #: 83
Topic #: 13
[All 1Z0-082 Questions]

The sales table has columns prod_id and quantity_sold of data type number

In two queries execute successfully? x

Show Suggested Answer Hide Answer

Contribute your Thoughts:

Domitila
13 days ago
Option B is interesting, but the syntax seems a bit off. Shouldn't we have the COUNT(-) condition in the HAVING clause instead of the WHERE clause?
upvoted 0 times
...
Danica
19 days ago
Hmm, you might be right. Let's analyze the queries further before making a final decision.
upvoted 0 times
...
Melda
21 days ago
I disagree, I believe option B is the right choice as it includes both quantity_sold and COUNT(-) conditions.
upvoted 0 times
...
Kimberely
22 days ago
Option A looks promising, but I'm not sure if the COUNT(-) is the right way to count the number of records. Shouldn't we use COUNT(prod_id) instead?
upvoted 0 times
Virgie
2 days ago
I think you're right, we should use COUNT(prod_id) to count the number of records.
upvoted 0 times
...
Gail
9 days ago
A) SELECT prod_id FROM sales WHERE quantity_sold > 55000 GROUP BY prod_id HAVING COUNT(-) > 10;
upvoted 0 times
...
...
Danica
27 days ago
I think option A is correct because it groups by prod_id and filters by quantity_sold.
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77