Product rating for webshop - Average??

Ask a Question related to Dreamweaver AppDev, Design and Development.

  1. #1

    Default 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

  2. Similar Questions and Discussions

    1. 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...
    2. 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...
    3. 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...
    4. 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...
    5. 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...
  3. #2

    Default 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

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139