Multiple choice

Consider the following table:

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|

Determine the name and total price of product, produced for the specific state. Select the correct option.

  1. SELECT product_name, sum(product_price) FROM product

  2. SELECT product_name, product_price FROM product group by state

  3. SELECT product_name, sum(product_price) FROM product group by state

  4. SELECT sum(product_price) FROM product group by state

  5. None of the above

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

This is a correct SQL query for the specified result.