Multiple choice

Product Table:

|Category|Product_Name|Product_Price|State|Country| |---|---|---|---|---| |Furniture|Chair|700 Rs|Colordo|US| |Furniture|Bed|2000 Rs|Colordo|US| |Electronics|TV|1200 Rs|Capetown|Africa| |Electronics|Radio|700 Rs|Delhi|India| |Leather|Bag|800 Rs|Mumbai|India| |Garments|Jacket|2300 Rs|Nairobi|Kenya|

  1. SELECT product_name, SUM(product_price) FROM product GROUP BY category where SUM(product_price) > 1500

  2. SELECT product_name, SUM(product_price) FROM product GROUP BY category HAVING SUM(product_price) > 1500

  3. SELECT product_name, product_price FROM product GROUP BY category HAVING SUM(product_price) > 1500

  4. SELECT product_name, SUM(product_price) FROM product GROUP BY category HAVING product_price > 1500

  5. None of the above

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

This is the correct query for the desired result.