Fatal error: Błąd SQL:
SELECT COUNT(product_comment.product_comment_id) as cnt, (SUM(product_comment.total)/COUNT(product_comment.product_comment_id)) as score, (ROUND( ( (2 * COUNT(product_comment.product_comment_id)) / ( ( 0.5 * COUNT(product_comment.product_comment_id)) + 0.1 ) ) * (SUM(product_comment.total)/COUNT(product_comment.product_comment_id)) ) ) as P, (SUM(product_comment.adequacy)/COUNT(product_comment.product_comment_id)) as adequacy, (SUM(product_comment.value_for_money)/COUNT(product_comment.product_comment_id)) as value_for_money, MAX(product_comment.product_id) as product_id, CONCAT(_products_55.category_id,'+&',_products_55.producent_id,'+&',_products_55.prod_year,'+&',_products_55.product_name) as unique_id, _products_55.product_name, _products_55.prod_year, producer.name as producent_name, producer.producer_id as producent_id from product_comment Inner Join _products_55 On _products_55.product_id=product_comment.product_id Inner Jo in /home/users/default/public_html/surfer/lib/database.php on line 72