SELECT
`products`.*,
AVG(product_ratings.rating) AS `total_rating`
FROM
`products`
LEFT JOIN `products` ON products.id = product_ratings.product_id
WHERE
`products`.`slug` = 'organization-idorganization-idorganization-idorganization-id-1'