There are 2 products & users tables. Users vote for products. How to match the voices (golos) of each product with the product_id of another table?

enter image description here

    1 answer 1

    select * from users u join products p on p.id = u.product_id