Postgresql – Postgres division of two subquery sums using WHERE from another subquery
We store volunteer hours in a database for every user, i'm trying to figure out how to structure a Postgres SQL query to find the percentage of total hours a specific user has spent at a location vs the total…