Menu

[solved] – Question 69046

Use the e_store database
Get the average rating of product_id 4. Alias the average result as: avg_rating.
The result should look like this:
+—-+————+
| id | avg_rating |
+—-+————+
| 4 | 3.5000 |
+—-+————+
1 row in set (0.08 sec)

Expert Answer


OR


Leave a Reply

Your email address will not be published. Required fields are marked *