Ask a Question related to Dreamweaver AppDev, Design and Development.
-
btn #1
Product rating for webshop - Average??
Hi - using ASP/ACCESS/VBscript
Working on a product rating feedback service for products in my webshop.
Have created a DB table called productrating to store all the info.
Customers can rate products from 1 (poor) - to - 5 (best).
The rating goes in a number field, and the ProductID is collected for each
product. So far so good.
Ned an advice on how to display the average rating for each product as there
could be several feedbacks on each product.
Any suggestions?
Bjorn.
btn Guest
-
Who build the best webshop extension solution?
Hi I need to make a decision on what extension to buy that will help me build solid web-shop applications based on ASP VB script and that will... -
Webshop product sorting advice?
Hi - using ASP/Access/VBscript Need an advice on a product sorting issue for a webshop. Have seen that different webshops has different ways to... -
Rating System
Hello All- I have a rating system where people can rate an article form 1-5. I is poor and 5 is excellent. I have everything working fine but I... -
Kodak Tech Pan , what rating ?
For landscape photography with red filter what speed is Tech Pan best at considering it will be developed in HC-110 Developer ? I want very small... -
Product activation when you've lost your Product ID sticker
You will not be able to activate at all by phone or internet with a downloaded key. -- Larry Samuels MS-MVP (Windows-Shell/User) Associate... -
Manuel Socarras #2
Re: Product rating for webshop - Average??
you can try AVG clause, something like this:
"SELECT product, AVG(rating) FROM productrating GROUP BY product"
HTH,
manuel
btn wrote:
> Hi - using ASP/ACCESS/VBscript
>
> Working on a product rating feedback service for products in my webshop.
> Have created a DB table called productrating to store all the info.
> Customers can rate products from 1 (poor) - to - 5 (best).
> The rating goes in a number field, and the ProductID is collected for each
> product. So far so good.
>
> Ned an advice on how to display the average rating for each product as there
> could be several feedbacks on each product.
>
> Any suggestions?
>
> Bjorn.
>
>Manuel Socarras Guest



Reply With Quote

