how to select column true if any other row is true in this situation? – Postgresql
I'm trying to figure out how to set a column to true when other columns from the query be true. I have two tables called products and families. A family can have a lot of products and a product can…